Partner - Booking API
/partners/v1/bookings/parkings/{id}/arrival - PATCH
Allows partners to add the actual arrival time to booking when the parking starts for more exact overstay calculation. Arrival date time can only be patched once, after the first an error will be thrown. 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}/arrival
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
actualArrivalDateTime
|
string | The actual arrival 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"
}
]
}