Service providers
Fetches current locations for multiple service providers prioritizing live locations with fallback to addresses
Authorizations
AuthorizationstringRequired
Enter your Bearer token
organization_codestringRequired
Enter your organization code
Query parameters
serviceProviderIdsstring[]RequiredDefault:
List of service provider IDs
[]Example: ["123e4567-e89b-12d3-a456-426614174000","123e4567-e89b-12d3-a456-426614174001"]latLongMaxAgeHoursnumberOptionalDefault:
Maximum age of the lat/long coordinates in hours
24Example: 24includeLatestStatusbooleanOptionalExample:
Indicates if latest status of the service provider location has to be included
truestartDateTimeone ofOptionalExample:
Indicates the start date for filtering service provider locations
2023-01-01T00:00:00Zstring · dateOptional
string · date-timeOptional
endDateTimeone ofOptionalExample:
Indicates the end date for filtering service provider locations
2023-01-01T00:00:00Zstring · dateOptional
string · date-timeOptional
classanyRequired
Responses
200Success
application/json
get
/api/location/service-providers200Success