Booking
Booking Creation
Header parameters
Accept-LanguagestringOptional
Body
anyOptional
Responses
201
The request has been successful
401
The request is unauthorized
403
The request is forbiden
422
The request cannot be processed
post
POST /api/widget/v1/bookings HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
No content
Params
{
"arrival_at":"2024-06-09T12:00",
"departure_at":"2024-06-16T12:00",
"payform":"af797140-0fe2-458a-a142-6fdd45f03c0c",
"client_title":"Peter Test",
"client_email":"[email protected]",
"client_phone":"123123123",
"client_consent_rule":true,
"client_consent_marketing":false,
"person_adult":4,
"person_child":0,
"person_disabled":0,
"invoice":false,
"billing_country":"PL",
"services":[
// UUID of the Parking Services
],
"vehicles":[
{
"type":"CAR",
"plate":"TEST"
}
],
"parking":"65891dfe-db0e-4e35-b41a-79ad5b791951",
"source":"Parking"
}
Cancel Booking
Authorizations
Path parameters
bookingstring · uuidRequired
The resource
Header parameters
Accept-LanguagestringOptional
Responses
200
The request has been successful
401
The request is unauthorized
403
The request is forbiden
404
The resource cannot be found
406
The request has been refused
422
The request cannot be processed
delete
DELETE /api/widget/v1/bookings/{booking} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
No content
Last updated