Skip to main content

Map trip and appointment

End-point to map a trip with an appointment. Identifiers passed in this end-point are mapped to each other. Pass these carefully else wrong appointment could be mapped to a trip.

Header Parameters
    authorization string required

    Base64 encoded basic auth

Request Body required

Request to map trip with appointment

    dealerDepartmentUUIDList string[]
    dealerUuid string
    mappingFallback boolean
    markAsValid boolean
    removeMapping boolean
    requesterUserUUID string
    sarUuid string
    source string

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

    tripUuid string
Responses

OK


Schema
    error object
    errorCode string
    errorDescription string
    metadata object
    property name* string
    sarUuid string
    status boolean
    statusCode int32
    tripUuid string
    warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
POST /v3/trip/appointment/mapping

Request

Base URL
//api.mykaarma.com/pickupdelivery
authorization — header required
Body required
{
"dealerDepartmentUUIDList": [
"string"
],
"dealerUuid": "string",
"mappingFallback": true,
"markAsValid": true,
"removeMapping": true,
"requesterUserUUID": "string",
"sarUuid": "string",
"source": "DEALER_APP",
"tripUuid": "string"
}
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/trip/appointment/mapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUUIDList": [
"string"
],
"dealerUuid": "string",
"mappingFallback": true,
"markAsValid": true,
"removeMapping": true,
"requesterUserUUID": "string",
"sarUuid": "string",
"source": "DEALER_APP",
"tripUuid": "string"
}'