pushDataToRMQ
pushDataToRMQ
Header Parameters
authorization string required
authorization
application/json
Request Body required
rmqData
departmentUUID string
driverUUID string
tripUUID string
updateType string
Possible values: [CREATE
, UPDATE
, DELETE
, DELETE_MULTIPLE
, LOG_ACTION
, SUBTRIP_COMPLETE
, FORCE_COMPLETE
, DATA_POPULATION
, SCHEDULER_INTEGRATION
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
error object
status boolean
statusCode int32
warnings object[]
{
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"status": true,
"statusCode": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /v3/queue/push
Request
Request
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
python / requests
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
go / native
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
nodejs / axios
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
ruby / Net::HTTP
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
csharp / RestSharp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
php / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
java / OkHttp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'
powershell / RestMethod
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/queue/push' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"departmentUUID": "string",
"driverUUID": "string",
"tripUUID": "string",
"updateType": "CREATE"
}'