Service provider

Get multiple service provider's ETA

get

Fetch Distance & ETA for multiple service providers

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
serviceProviderLocationstringOptional

Service provider location

Example: 12.9715987,77.5945627 OR London, UK
patientLocationstringOptional

Patient location - can be an address, landmark, or place name

Example: ["John F Kennedy Airport","123 Main Street, Brooklyn, NY","Central Park, New York","Mount Sinai Hospital"]
useLatLongstring · enumOptional

If true, will use lat long for distance calculation

Possible values:
latLongMaxAgeHoursstringOptional

Valid hours for lat long

Default: 3Example: 2Pattern: ^[-+]?[0-9]+$
Responses
200Success
application/json
get
/api/location/service-provider

Get service provider ETA

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
Query parameters
serviceProviderLocationstringOptional

Service provider location

Example: 12.9715987,77.5945627 OR London, UK
patientLocationstringOptional

Patient location - can be an address, landmark, or place name

Example: ["John F Kennedy Airport","123 Main Street, Brooklyn, NY","Central Park, New York","Mount Sinai Hospital"]
useLatLongstring · enumOptional

If true, will use lat long for distance calculation

Possible values:
latLongMaxAgeHoursstringOptional

Valid hours for lat long

Default: 3Example: 2Pattern: ^[-+]?[0-9]+$
Responses
200Success
application/json
get
/api/location/service-provider/{serviceProviderId}
200Success