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.


Open Swagger Specification

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 body

Response 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"
        }
    ]
}

Response 404

No response body

Response 202

No response body

Response 401

No response body - No bearer token set verify if your token is added as bearer token

Response 403

No response body - You don't have access to this API resource

Response 500

No response body