Skip to main content

How to get TransportOption for a Dealer

Get all transport options for dealer

Request

HTTP request

GET  https://api.mykaarma.com/appointment/v2/department/{{dealerDepartmentUUID}}/transportOption/list

Parameters

Path parameter:

Parameter NameValueDescriptionRequired
dealerDepartmentUUIDStringUnique identifier of dealer departmentYes

Authorization

This request requires the following authorization scopes:

ScopeLevelDescription
appointment.transportOptionsDealerDepartmentAuthorises client to get transportOption for a dealer

###Sample Curl

curl --location 'https://api.mykaarma.com/appointment/v2/department/3fed82861160717ea55057293650d3f0e63903c756ec1b85b261a70390ff0d6f/transportOption/list' \
--header 'Authorization: {{basic_auth_token}}'

Response

{
"statusCode": 0,
"transportOptionList": [
{
"customName": "string",
"icon": "string",
"optionName": "string",
"showOnDealerApp": true,
"showOnline": true,
"transportOptionUuid": "string"
}
],
"error": {
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
},
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}