Fetch wait times of a center (with center_ids or geolocation)

Purpose: The purpose of this API is to retrieve wait times for a list of centers or for centers in an area as per the Geolocation.

Response Object

NameTypeDescription
center_wait_timesobjectObject containing the information of centers and its corresponding wait times.

center_wait_times Object

NameTypeDescription
wait_timeintThis is the wait time of the center.
idguidUnique identifier of the center as entered in the request.
namestringName of the center corresponding to the id in the API request.
geo_latitudestringLatitude of the corresponding center.
geo_longitudestringLongitude of the corresponding center.
statusstringStatus of the center. Open or Closed

error Object

MessageCodeDescription
Invalid request, only one of Geofence or Center ids is supported as a valid requestQA004When both the center_ids and the geolocation is mentioned in the request. Note: Either use center_id or the geolocation parameters.
Invalid InputAA107When partial geolocation data is entered.
Request query exceeds maximum limit of distance - 50 milesQA002When the geolocation distance is more than 50 miles.
Request query exceeds maximum limit of centers - 50QA001When the API body contains more than 50 center_ids.
Invalid InputAA107When the geolocation coordinates are out of range. Range: Latitude -90 to 90
Longitude: -180 to 180
Queue-Admin is not enabled for this organizationQA003When the queue module is not enabled for an organization.
Language
Credentials
Header
Click Try It! to start a request and see the response here!