getReportForDriverForTrip
getReportForDriverForTrip
Path Parameters
driverUUID string required
driverUUID
tripUUID string required
tripUUID
Header Parameters
authorization string required
authorization
application/json
Request Body required
pickupDeliveryTripReportRequest
dealerDepartmentUUIDList string[]
departmentUUID string
requesterUserUUID string
source string
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
amountPerMiles number
amountPerMinute number
amountPerTrip number
appointmentTime string
atDealershipTime string
customerFirstName string
customerLastName string
customerVehicleDetails string
customerVin string
date string
dealerName string
dealerOrderUUID string
destinationAddress string
destinationZipCode string
distanceTravelled number
driverFirstName string
driverLastName string
driverName string
endTime string
error object
finalStatus string
inboundStartTime string
loanerVehicleDetails string
maxSpeed string
originAddress string
outboundCompleteTime string
rideType string
roNumber string
roOwner string
startDrivingTime string
startTime string
statusCode int32
totalAmount number
totalTime int32
warnings object[]
{
"amountPerMiles": 0,
"amountPerMinute": 0,
"amountPerTrip": 0,
"appointmentTime": "string",
"atDealershipTime": "string",
"customerFirstName": "string",
"customerLastName": "string",
"customerVehicleDetails": "string",
"customerVin": "string",
"date": "string",
"dealerName": "string",
"dealerOrderUUID": "string",
"destinationAddress": "string",
"destinationZipCode": "string",
"distanceTravelled": 0,
"driverFirstName": "string",
"driverLastName": "string",
"driverName": "string",
"endTime": "string",
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"finalStatus": "string",
"inboundStartTime": "string",
"loanerVehicleDetails": "string",
"maxSpeed": "string",
"originAddress": "string",
"outboundCompleteTime": "string",
"rideType": "string",
"roNumber": "string",
"roOwner": "string",
"startDrivingTime": "string",
"startTime": "string",
"statusCode": 0,
"totalAmount": 0,
"totalTime": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /v3/driverspay/:driverUUID/trip/:tripUUID/report
Request
Request
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
python / requests
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
go / native
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
nodejs / axios
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
ruby / Net::HTTP
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
csharp / RestSharp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
php / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
java / OkHttp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'
powershell / RestMethod
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/driverspay/:driverUUID/trip/:tripUUID/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"departmentUUID": "string",
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'