Booking
Creates a channel booking for one or more reservations regardless of availability or restrictions.
Creates a booking taking a list of reservations as input<br>You must have at least one of these scopes: 'reservations.force-create, reservations.force-manage'.<br>For fine-grained clients, you must have this permission: 'core.bookings.create'.
post/booking/v0-nsfw/channel-bookings
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/booking/v0-nsfw/channel-bookings
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: reservations.force-create, reservations.force-manage, admin
Query parameters
copyPaymentAccountboolean
Copy payment account from booking to reservations. Default is true.
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"booker": {
"identificationIssueDate": "2020-10-10",
"identificationExpiryDate": "2020-10-10",
"birthDate": "2020-10-10"
},
"reservations": [
{
"primaryGuest": {
"identificationIssueDate": "2020-10-10",
"identificationExpiryDate": "2020-10-10",
"birthDate": "2020-10-10",
"borderCrossingDate": "2020-10-10"
},
"additionalGuests": [
{
"identificationIssueDate": "2020-10-10",
"identificationExpiryDate": "2020-10-10",
"birthDate": "2020-10-10",
"borderCrossingDate": "2020-10-10"
}
],
"services": [
{
"serviceId": "MUC-SPA",
"dates": [
{
"serviceDate": "2026-10-30",
"amount": {
"amount": 25,
"currency": "EUR"
}
},
{
"serviceDate": "2026-10-31"
}
]
}
]
}
]
}Response
All new reservations were created.
Example response
{
"id": "XPGMSXGF",
"reservationIds": [
{
"id": "XPGMSXGF-1"
},
{
"id": "XPGMSXGF-2"
}
]
}Changes
No operation changes recorded.