Skip to main content
POST
Reorder visits

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Body

application/json
currentCoordinate
string
required

The current latitude and longitude to calculate the order from.

Example:

"-7.76287840866215,113.24105028153643"

visits
object[]
required

List of visits to be reordered.

Response

Success

status
boolean

Status of response.

statusCode
integer

Status code of response.

data
object[]