getDistanceMatrix
getDistanceMatrix
Path Parameters
department_uuid string required
department_uuid
user_uuid string required
user_uuid
Header Parameters
authorization string required
authorization
application/json
Request Body required
request
- Array [
- ]
- Array [
- ]
dealerDepartmentUUIDList string[]
destinations object[]
locationLat double
locationLon double
timeStamp date-time
origins object[]
locationLat double
locationLon double
timeStamp date-time
requesterUserUUID string
source string
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
destinations object[]
locationLat double
locationLon double
timeStamp date-time
distanceTimeFromOrigins object[]
distanceTimeToDestination object[]
distanceInMeters int64
status string
timeInSeconds int64
error object
errorCode string
errorDescription string
metadata object
property name* string
origins object[]
locationLat double
locationLon double
timeStamp date-time
statusCode int32
warnings object[]
warningCode string
warningDescription string
{
"destinations": [
{
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2024-11-04T10:14:15.057Z"
}
],
"distanceTimeFromOrigins": [
{
"distanceTimeToDestination": [
{
"distanceInMeters": 0,
"status": "string",
"timeInSeconds": 0
}
]
}
],
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"origins": [
{
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2024-11-04T10:14:15.057Z"
}
],
"statusCode": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...