Availability blocks
Process availability block
Request
{
"connectionToken": "[Token of a concrete connection]",
"messageId": "66511e1d-2405-4e49-914b-b0c800d802c9",
"responseUrl": "https://api.mews-demo.com/api/channelManager/v1/processAvailabilityBlockConfirmation",
"availabilityBlock": {
"code": null,
"confirmationNumber": "2",
"status": "Create",
"name": "SampleBlock",
"dates": {
"start": "2023-12-05",
"end": "2023-12-11",
"releasedDate": "2023-12-04"
},
"spaceCategories": [
{
"start": "2023-12-05",
"end": "2023-12-11",
"spaceTypeCode": "D",
"allocatedSpaces": [
{
"start": "2023-12-05",
"end": "2023-12-07",
"count": 2
},
{
"start": "2023-12-07",
"end": "2023-12-11",
"count": 5
}
],
"occupiedSpaces": [
{
"start": "2023-12-05",
"end": "2023-12-09",
"count": 1
},
{
"start": "2023-12-09",
"end": "2023-12-11",
"count": 0
}
],
"rates": [
{
"start": "2023-12-05",
"end": "2023-12-11",
"currencyCode": "EUR",
"prices": [
{
"grossAmount": 100.00,
"netAmount": 93.46,
"currencyCode": "EUR",
"guestCount": 1
},
{
"grossAmount": 100.00,
"netAmount": 93.46,
"currencyCode": "EUR",
"guestCount": 2
},
{
"grossAmount": 100.00,
"netAmount": 93.46,
"currencyCode": "EUR",
"guestCount": 3
},
{
"grossAmount": 100.00,
"netAmount": 93.46,
"currencyCode": "EUR",
"guestCount": 4
}
]
}
]
}
],
"booker": {
"email": "[email protected]",
"firstName": "Angelina",
"lastName": "Jolie",
"title": null,
"telephone": null,
"nationalityCode": null,
"languageCode": null,
"loyaltyCode": null,
"address": null
},
"company": null,
"notes": "This is the block for Mews conference.",
"pickupType": "AllInOneGroup"
}
}Property
Type
Contract
Description
Availability block
Property
Type
Contract
Description
Dates
Property
Type
Contract
Description
Space category allocation
Property
Type
Contract
Description
Space count
Property
Type
Contract
Description
Rate
Property
Type
Contract
Description
Status
PickupType
Response
Last updated
Was this helpful?