getETA
getETA
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
dealerDepartmentUUIDList string[]
destination object
origin object
requesterUserUUID string
routeMode string
source string
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
destination object
distanceInMeters int64
error object
origin object
routeMode string
statusCode int32
timeInSeconds int64
warnings object[]
{
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.435Z"
},
"distanceInMeters": 0,
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.435Z"
},
"routeMode": "string",
"statusCode": 0,
"timeInSeconds": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /v3/department/:department_uuid/user/:user_uuid/eta
Request
Request
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
python / requests
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
go / native
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
nodejs / axios
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
ruby / Net::HTTP
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
csharp / RestSharp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
php / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
java / OkHttp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'
powershell / RestMethod
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/department/:department_uuid/user/:user_uuid/eta' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"destination": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"origin": {
"locationLat": 0,
"locationLon": 0,
"timeStamp": "2025-04-07T07:51:25.411Z"
},
"requesterUserUUID": "string",
"routeMode": "string",
"source": "DEALER_APP"
}'