Update Linked Appointment for trips
End-point to regenerate trip-view for all trips that have a linked appointment from scheduler integration. This, clubbed with the changes to populate linked appointment UUID in maria model, and to map that linked appointment UUID in mongo, will populate the linked appointment UUIDs in mongo for these trips.
Header Parameters
authorization string required
Base64 encoded basic auth
application/json
Request Body required
request
dealerDepartmentUUIDList string[]
endAppointmentTime string
The end of the date range in which trip must be present, in yyyy-MM-dd'T'HH:mm:ssZ format
requesterUserUUID string
source string
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
startAppointmentTime string
The start of the date range in which trip must be present, in yyyy-MM-dd'T'HH:mm:ssZ format
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
error object
errorCode string
errorDescription string
metadata object
property name* string
statusCode int32
warnings object[]
warningCode string
warningDescription string
{
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"statusCode": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...