GET Execute Lookup

The execute endpoint within the lookup allows finalized lookup requests to be executed. Only on executing the lookup will the data be sourced from Google Places API and the purchased credits be used.

URL to call

https://api.bluedotinnovation.com/1/poi/lookup/{lookupId}/execute

Parameters

Name Required Data Type Description Format
lookupId String The lookupId returned when the lookup request was made
customerApiKey String API key for the customer found in the Account Management tab of Point Access UI.
apiKey String API Key of the relevant app found in the Manage Apps section of the App and Beacon Management tab of Point Access UI.

GET execute lookup

https://api.bluedotinnovation.com/1/poi/lookup/dbf9f6b0-3668-407e-87b5-ee5aba4e35a0/execute?customerApiKey=d851c260-9a31-11e5-b7e5-b8ca3a6b879d&apiKey=7e9a7d30-1f09-11e7-ad24-06a56cd124c5

Example: JSON response for GET execute lookup

{
    "url": "https://api.bluedotinnovation.com/1/poi/lookup/dbf9f6b0-3668-407e-87b5-ee5aba4e35a0",
    "location": "San Francisco, California, United States",
    "status": "initialising",
    "searchesUsed": 0,
    "searchesRemaining": 100000,
    "ready": false,
    "keyword": "mexican",
    "type": "restaurant",
    "lookupUrl": "https://api.bluedotinnovation.com/1/poi/lookup/dbf9f6b0-3668-407e-87b5-ee5aba4e35a0?customerApiKey=d851c260-9a31-11e5-b7e5-b8ca3a6b879d&apiKey=7e9a7d30-1f09-11e7-ad24-06a56cd124c5",
    "message": "Execution queued.",
    "messageCode": 200
}

Next Step

Created by Bluedot DevOps on January 31, 2018

Start the discussion