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
get
/api/service-providers/live-location/{id}

No content

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
post
/api/service-providers/live-location/{id}

No content