getDistanceMatrix
getDistanceMatrix
Query Parameters
fromDealerShip boolean
fromDealerShip
Header Parameters
authorization string required
authorization
application/json
Request Body required
request
- Array [
- ]
- Array [
- ]
dealerDepartmentUuidList string[]
destinations object[]
latitude string
longitude string
metaData object
data string
type string
Possible values: [QUERY_LOCATION
, DEALERSHIP_ADDRESS
, APPOINTMENT_LOCATION
]
origins object[]
latitude string
longitude string
metaData object
data string
type string
Possible values: [QUERY_LOCATION
, DEALERSHIP_ADDRESS
, APPOINTMENT_LOCATION
]
requesterUserUuid string
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
destinations object[]
latitude string
longitude string
metaData object
data string
type string
Possible values: [QUERY_LOCATION
, DEALERSHIP_ADDRESS
, APPOINTMENT_LOCATION
]
distanceTimeFromOrigins object[]
distanceTimeToDestination object[]
distanceInMeters int64
status string
timeInSeconds int64
error object
code string
description string
metadata object
property name* string
origins object[]
latitude string
longitude string
metaData object
data string
type string
Possible values: [QUERY_LOCATION
, DEALERSHIP_ADDRESS
, APPOINTMENT_LOCATION
]
statusCode int32
warnings object[]
code string
description string
{
"destinations": [
{
"latitude": "string",
"longitude": "string",
"metaData": {
"data": "string",
"type": "QUERY_LOCATION"
}
}
],
"distanceTimeFromOrigins": [
{
"distanceTimeToDestination": [
{
"distanceInMeters": 0,
"status": "string",
"timeInSeconds": 0
}
]
}
],
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"origins": [
{
"latitude": "string",
"longitude": "string",
"metaData": {
"data": "string",
"type": "QUERY_LOCATION"
}
}
],
"statusCode": 0,
"warnings": [
{
"code": "string",
"description": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...