Live location
Get live location for a service provider
Authorizations
AuthorizationstringRequired
Enter your Bearer token
organization_codestringRequired
Enter your organization code
Path parameters
idstringRequiredPattern:
[^\/#\?]+?Responses
200
Success
application/json
400
Bad request - invalid input data
401
Unauthorized - invalid API key
403
Acess Denied
404
Not Found
500
Internal server error
get
/api/service-providers/live-location/{id}No content
Add or update live location for a service provider
Authorizations
AuthorizationstringRequired
Enter your Bearer token
organization_codestringRequired
Enter your organization code
Path parameters
idstringRequiredPattern:
[^\/#\?]+?Body
latitudestringRequiredExample:
Latitude to be set for location of service provider
14.345432longitudestringRequiredExample:
Longitude to be set for location of service provider
70.434543attributesobjectRequiredExample:
Attributes for locations
{ 'city': 'london' }Responses
200
Success
application/json
400
Bad request - invalid input data
401
Unauthorized - invalid API key
403
Acess Denied
404
Not Found
500
Internal server error
post
/api/service-providers/live-location/{id}No content