Live location

Get Live Location

get

Get live location for a service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idstringRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200

Success

application/json
get
/api/service-providers/live-location/{id}

Change Live Location

post

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
latitudestringRequired

Latitude to be set for location of service provider

Example: 14.345432
longitudestringRequired

Longitude to be set for location of service provider

Example: 70.434543
attributesobjectRequired

Attributes for locations

Example: { 'city': 'london' }
Responses
chevron-right
200

Success

application/json
post
/api/service-providers/live-location/{id}

Was this helpful?