Partner - Booking API
/partners/v1/bookings/parkings/{id}/departure - PATCH
Allows partners to add the actual departure time to booking when the parking starts for more exact overstay calculation. Departure date time can be sent any amount of times, each call will overwrite the last given date time. In addition, the departure date time cannot be earlier than the arrival date time. As response of the API you always get a 202 response code. Due to an error in the API documentation generation the 200 response is added.
Endpoint
PATCH - https://api.travisroadservices.com/partners/v1/bookings/parkings/{id}/departure
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
actualDepartureDateTime
|
string | The actual departure date time for this parking booking |
id
|
string | PartnerBookingParking identifier |
Request body
Response body
Response 200
Response 400
No response bodyResponse 422
{
"type": "https://tools.ietf.org/html/rfc2616#section-10",
"title": "An error occurred",
"detail": "vehicleType: This value should not be blank.",
"violations": [
{
"propertyPath": "vehicleType",
"message": "This value should not be blank.",
"code": "c1051bb4-d103-4f74-8988-acbcafc7fdc3"
}
]
}