POST query/PublicQuery/CalculateDailyAvailabilityAllotmentAndPriceQuery
Cálculo de precios diarios y disponibilidad de cupo
Request Information
URI Parameters
None.
Body Parameters
RequestQueryOfCalculateDailyAvailabilityAllotmentAndPriceQuery| Name | Description | Additional information | Type |
|---|---|---|---|
| QueryCredentials |
Credenciales |
Required |
QueryCredentials |
| QueryRequest |
Petición |
Required |
CalculateDailyAvailabilityAllotmentAndPriceQuery |
Request Formats
application/json, text/json
Sample:
{
"QueryCredentials": {
"User": "sample string 1",
"Password": "sample string 2",
"UserPasswordToken": "sample string 3"
},
"QueryRequest": {
"QueryHeader": {
"HotelCodeMap": {
"HotelSourceCode": "sample string 1",
"HotelTargetCode": "sample string 2"
},
"MaxRowsResponse": 1,
"Source": "sample string 2"
},
"CalculateDailyAvailabilityAllotmentAndPriceRequest": {
"AllotmentTypeCode": "sample string 1",
"RoomTypeCode": "sample string 2",
"RateTypeCode": "sample string 3",
"BoardTypeCode": "sample string 4",
"DateFrom": "2025-11-05T11:27:31.0501801+01:00",
"DateTo": "2025-11-05T11:27:31.0501801+01:00",
"GuestQuantity": [
{
"GuestTypeCode": "sample string 1",
"Quantity": 2
},
{
"GuestTypeCode": "sample string 1",
"Quantity": 2
}
],
"Discount": 7.0
},
"UserID": "801eb25b-30c4-4680-a291-d97bd21254ac"
}
}
application/xml, text/xml
Sample:
<RequestQueryOfCalculateDailyAvailabilityAllotmentAndPriceQueryOxaCFbAB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorSVC.Contracts.Requests">
<QueryCredentials xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorSVC.Contracts.Security">
<d2p1:Password>sample string 2</d2p1:Password>
<d2p1:User>sample string 1</d2p1:User>
<d2p1:UserPasswordToken>sample string 3</d2p1:UserPasswordToken>
</QueryCredentials>
<QueryRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Queries.Contracting.CalculatePrice.CalculatePriceAR">
<UserID xmlns="http://schemas.datacontract.org/2004/07/WH_CQRS.DomainQueries">801eb25b-30c4-4680-a291-d97bd21254ac</UserID>
<d2p1:CalculateDailyAvailabilityAllotmentAndPriceRequest xmlns:d3p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Requests.Contracting">
<d3p1:AllotmentTypeCode>sample string 1</d3p1:AllotmentTypeCode>
<d3p1:BoardTypeCode>sample string 4</d3p1:BoardTypeCode>
<d3p1:DateFrom>2025-11-05T11:27:31.0501801+01:00</d3p1:DateFrom>
<d3p1:DateTo>2025-11-05T11:27:31.0501801+01:00</d3p1:DateTo>
<d3p1:Discount>7</d3p1:Discount>
<d3p1:GuestQuantity xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Contracting">
<d4p1:GuestTypeQuantity>
<d4p1:GuestTypeCode>sample string 1</d4p1:GuestTypeCode>
<d4p1:Quantity>2</d4p1:Quantity>
</d4p1:GuestTypeQuantity>
<d4p1:GuestTypeQuantity>
<d4p1:GuestTypeCode>sample string 1</d4p1:GuestTypeCode>
<d4p1:Quantity>2</d4p1:Quantity>
</d4p1:GuestTypeQuantity>
</d3p1:GuestQuantity>
<d3p1:RateTypeCode>sample string 3</d3p1:RateTypeCode>
<d3p1:RoomTypeCode>sample string 2</d3p1:RoomTypeCode>
</d2p1:CalculateDailyAvailabilityAllotmentAndPriceRequest>
<d2p1:QueryHeader xmlns:d3p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters">
<d3p1:HotelCodeMap xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.HotelSettings">
<d4p1:HotelSourceCode>sample string 1</d4p1:HotelSourceCode>
<d4p1:HotelTargetCode>sample string 2</d4p1:HotelTargetCode>
</d3p1:HotelCodeMap>
<d3p1:MaxRowsResponse>1</d3p1:MaxRowsResponse>
<d3p1:Source>sample string 2</d3p1:Source>
</d2p1:QueryHeader>
</QueryRequest>
</RequestQueryOfCalculateDailyAvailabilityAllotmentAndPriceQueryOxaCFbAB>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CalculateDailyAvailabilityAllotmentAndPriceResponse| Name | Description | Additional information | Type |
|---|---|---|---|
| Request |
Cálculo diario disponibilidad y precio por contrato pregunta |
CalculateDailyAvailabilityAllotmentAndPriceRequest | |
| CalculatedItems |
Cálculos diarios disponibilidad y precio por contracto |
Collection of CalculatedDailyAvailabilityAndPrice | |
| Success |
Es válida |
boolean | |
| Error |
Error |
string |
Response Formats
application/json, text/json
Sample:
{
"Request": {
"AllotmentTypeCode": "sample string 1",
"RoomTypeCode": "sample string 2",
"RateTypeCode": "sample string 3",
"BoardTypeCode": "sample string 4",
"DateFrom": "2025-11-05T11:27:31.0697763+01:00",
"DateTo": "2025-11-05T11:27:31.0697763+01:00",
"GuestQuantity": [
{
"GuestTypeCode": "sample string 1",
"Quantity": 2
},
{
"GuestTypeCode": "sample string 1",
"Quantity": 2
}
],
"Discount": 7.0
},
"CalculatedItems": [
{
"RoomUnits": 1.0,
"Day": "2025-11-05T11:27:31.0697763+01:00",
"AmountBeforeTaxes": 3.0,
"AmountAfterTaxes": 4.0,
"CurrencyCode": "sample string 5"
},
{
"RoomUnits": 1.0,
"Day": "2025-11-05T11:27:31.0697763+01:00",
"AmountBeforeTaxes": 3.0,
"AmountAfterTaxes": 4.0,
"CurrencyCode": "sample string 5"
}
],
"Success": true,
"Error": "sample string 2"
}
application/xml, text/xml
Sample:
<CalculateDailyAvailabilityAllotmentAndPriceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses.Contracting">
<Error xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses">sample string 2</Error>
<Success xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses">true</Success>
<CalculatedItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Contracting">
<d2p1:CalculatedDailyAvailabilityAndPrice>
<d2p1:AmountAfterTaxes>4</d2p1:AmountAfterTaxes>
<d2p1:AmountBeforeTaxes>3</d2p1:AmountBeforeTaxes>
<d2p1:CurrencyCode>sample string 5</d2p1:CurrencyCode>
<d2p1:Day>2025-11-05T11:27:31.0697763+01:00</d2p1:Day>
<d2p1:RoomUnits>1</d2p1:RoomUnits>
</d2p1:CalculatedDailyAvailabilityAndPrice>
<d2p1:CalculatedDailyAvailabilityAndPrice>
<d2p1:AmountAfterTaxes>4</d2p1:AmountAfterTaxes>
<d2p1:AmountBeforeTaxes>3</d2p1:AmountBeforeTaxes>
<d2p1:CurrencyCode>sample string 5</d2p1:CurrencyCode>
<d2p1:Day>2025-11-05T11:27:31.0697763+01:00</d2p1:Day>
<d2p1:RoomUnits>1</d2p1:RoomUnits>
</d2p1:CalculatedDailyAvailabilityAndPrice>
</CalculatedItems>
<Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Requests.Contracting">
<d2p1:AllotmentTypeCode>sample string 1</d2p1:AllotmentTypeCode>
<d2p1:BoardTypeCode>sample string 4</d2p1:BoardTypeCode>
<d2p1:DateFrom>2025-11-05T11:27:31.0697763+01:00</d2p1:DateFrom>
<d2p1:DateTo>2025-11-05T11:27:31.0697763+01:00</d2p1:DateTo>
<d2p1:Discount>7</d2p1:Discount>
<d2p1:GuestQuantity xmlns:d3p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Contracting">
<d3p1:GuestTypeQuantity>
<d3p1:GuestTypeCode>sample string 1</d3p1:GuestTypeCode>
<d3p1:Quantity>2</d3p1:Quantity>
</d3p1:GuestTypeQuantity>
<d3p1:GuestTypeQuantity>
<d3p1:GuestTypeCode>sample string 1</d3p1:GuestTypeCode>
<d3p1:Quantity>2</d3p1:Quantity>
</d3p1:GuestTypeQuantity>
</d2p1:GuestQuantity>
<d2p1:RateTypeCode>sample string 3</d2p1:RateTypeCode>
<d2p1:RoomTypeCode>sample string 2</d2p1:RoomTypeCode>
</Request>
</CalculateDailyAvailabilityAllotmentAndPriceResponse>