Skip to main content

Get trip details in PDF

End-point to get trip details in a PDF. The URL expires after a week. Shouldn't be used for permanent storage.

Header Parameters
    authorization string required

    Base64 encoded basic auth

Request Body required

Request to fetch pdf format of a trip

    dealerDepartmentUUIDList string[]
    requesterUserUUID string
    source string

    Possible values: [DEALER_APP, WEB, PND_API, EXTERNAL_CONTROLLER]

    tripUuids string[]
Responses

OK


Schema
    error object
    errorCode string
    errorDescription string
    metadata object
    property name* string
    htmlString string
    pdfUrl string
    statusCode int32
    warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
POST /v3/trips/pdf

Request

Base URL
//api.mykaarma.com/pickupdelivery
authorization — header required
Body required
{
"dealerDepartmentUUIDList": [
"string"
],
"requesterUserUUID": "string",
"source": "DEALER_APP",
"tripUuids": [
"string"
]
}
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/trips/pdf' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"requesterUserUUID": "string",
"source": "DEALER_APP",
"tripUuids": [
"string"
]
}'