Partner - Booking API
Set arrival time.
Records the actual arrival time for a parking booking to enable accurate overstay calculation. Can only be set once; subsequent attempts return an error. Always returns a 202 response.
Endpoint
PATCH - https://api.travisroadservices.com/partners/v1/bookings/parkings/{id}/arrival
Copy
Path params
| Parameter | Type | Description |
|---|---|---|
id
|
string | Unique identifier of the booking. |
Header params
| Parameter | Type | Description |
|---|---|---|
location
|
string | Location ID of the requesting location. |
Request body
Fields
| Field | Type | Required | Description |
|---|---|---|---|
actualArrivalDateTime
|
string (date-time) | No | Actual arrival date and time recorded by the partner. |
Example
Response body
Response 202
The arrival date time was successfully patched
No response bodyResponse 400
Unauthorized access, you need to provide a valid API key
Fields
| Field | Type | Description |
|---|---|---|
title
|
string | A short, human-readable summary of the problem. |
detail
|
string | A human-readable explanation specific to this occurrence of the problem. |
status
|
number | The HTTP status code applicable to this problem. |
instance
|
string | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
type
|
string | A URI reference that identifies the problem type |
Example
Response 401
No response body - No bearer token set verify if your token is added as bearer tokenResponse 403
No response body - You don't have access to this API resourceResponse 404
Not found, the given resource could not be found
No response body