POST query/PublicQuery/BookingHeaderListQuery
Lista de cabeceras de reserva
Request Information
URI Parameters
None.
Body Parameters
RequestQueryOfBookingHeaderListQueryName | Description | Additional information | Type |
---|---|---|---|
QueryCredentials |
Credenciales |
Required |
QueryCredentials |
QueryRequest |
Petición |
Required |
BookingHeaderListQuery |
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" }, "BookingListQueryParameters": { "BookerQueryParameter": { "QueryOperator": 0, "Value": "sample string 1" }, "CodeQueryParameter": { "QueryOperator": 0, "Value": "sample string 1" }, "LocalizerQueryParameter": { "QueryOperator": 0, "Value": "sample string 1" }, "CreateDateQueryParameter": { "QueryOperator": 0, "Value": "2025-04-30T12:44:49.6885369+02:00" }, "StartDateQueryParameter": { "QueryOperator": 0, "Value": "2025-04-30T12:44:49.6885369+02:00" }, "BookingStateQueryParameters": [ { "QueryOperator": 0, "Value": 0 }, { "QueryOperator": 0, "Value": 0 } ], "EndDateQueryParameter": { "QueryOperator": 0, "Value": "2025-04-30T12:44:49.6885369+02:00" }, "RoomCodeQueryParameter": { "QueryOperator": 0, "Value": "sample string 1" }, "LikeGuestNameParameter": "sample string 1", "CheckStateQueryParameter": { "QueryOperator": 0, "Value": 0 }, "CheckStateDateQueryParameter": { "QueryOperator": 0, "Value": "2025-04-30T00:00:00+02:00" }, "StartDateFromToQueryParameter": { "From": "2025-04-30T12:44:49.6885369+02:00", "To": "2025-04-30T12:44:49.6885369+02:00" } }, "UserID": "9be11a40-83ac-4617-af7c-dca8919eed40" } }
application/xml, text/xml
Sample:
<RequestQueryOfBookingHeaderListQueryhUHWDzCr 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.Bookings.BookingAR"> <UserID xmlns="http://schemas.datacontract.org/2004/07/WH_CQRS.DomainQueries">9be11a40-83ac-4617-af7c-dca8919eed40</UserID> <d2p1:BookingListQueryParameters xmlns:d3p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters.Bookings"> <d3p1:BookerQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>sample string 1</d4p1:Value> </d3p1:BookerQueryParameter> <d3p1:BookingStateQueryParameters> <d3p1:BookingStateQueryParameter> <d3p1:QueryOperator>Equal</d3p1:QueryOperator> <d3p1:Value>None</d3p1:Value> </d3p1:BookingStateQueryParameter> <d3p1:BookingStateQueryParameter> <d3p1:QueryOperator>Equal</d3p1:QueryOperator> <d3p1:Value>None</d3p1:Value> </d3p1:BookingStateQueryParameter> </d3p1:BookingStateQueryParameters> <d3p1:CheckStateDateQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>2025-04-30T00:00:00+02:00</d4p1:Value> </d3p1:CheckStateDateQueryParameter> <d3p1:CheckStateQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>None</d4p1:Value> </d3p1:CheckStateQueryParameter> <d3p1:CodeQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>sample string 1</d4p1:Value> </d3p1:CodeQueryParameter> <d3p1:CreateDateQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>2025-04-30T12:44:49.6885369+02:00</d4p1:Value> </d3p1:CreateDateQueryParameter> <d3p1:EndDateQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>2025-04-30T12:44:49.6885369+02:00</d4p1:Value> </d3p1:EndDateQueryParameter> <d3p1:LikeGuestNameParameter>sample string 1</d3p1:LikeGuestNameParameter> <d3p1:LocalizerQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>sample string 1</d4p1:Value> </d3p1:LocalizerQueryParameter> <d3p1:RoomCodeQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>sample string 1</d4p1:Value> </d3p1:RoomCodeQueryParameter> <d3p1:StartDateFromToQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:From>2025-04-30T12:44:49.6885369+02:00</d4p1:From> <d4p1:To>2025-04-30T12:44:49.6885369+02:00</d4p1:To> </d3p1:StartDateFromToQueryParameter> <d3p1:StartDateQueryParameter xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters"> <d4p1:QueryOperator>Equal</d4p1:QueryOperator> <d4p1:Value>2025-04-30T12:44:49.6885369+02:00</d4p1:Value> </d3p1:StartDateQueryParameter> </d2p1:BookingListQueryParameters> <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> </RequestQueryOfBookingHeaderListQueryhUHWDzCr>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingHeaderListQueryResponseName | Description | Additional information | Type |
---|---|---|---|
BookingHeaders |
Cabeceras de reserva |
Collection of BookingHeader | |
Success |
Es válida |
boolean | |
Error |
Error |
string |
Response Formats
application/json, text/json
Sample:
{ "BookingHeaders": [ { "Id": "sample string 1", "Code": "sample string 2", "BookingState": 0, "StayState": 0, "StartDate": "2025-04-30T12:44:49.7823561+02:00", "EndDate": "2025-04-30T12:44:49.7823561+02:00", "CheckInDate": "2025-04-30T12:44:49.7823561+02:00", "CheckOutDate": "2025-04-30T12:44:49.7823561+02:00", "Booker": { "Code": "sample string 1", "Name": "sample string 2" }, "BoardType": { "Code": "sample string 1", "Name": "sample string 2" }, "RoomType": { "Code": "sample string 1", "Name": "sample string 2" }, "Localizers": [ { "LocalizerType": 0, "Code": "sample string 1" }, { "LocalizerType": 0, "Code": "sample string 1" } ], "Guests": "sample string 7", "Remark": "sample string 8", "RoomCode": "sample string 9", "HotelCode": "sample string 10" }, { "Id": "sample string 1", "Code": "sample string 2", "BookingState": 0, "StayState": 0, "StartDate": "2025-04-30T12:44:49.7823561+02:00", "EndDate": "2025-04-30T12:44:49.7823561+02:00", "CheckInDate": "2025-04-30T12:44:49.7823561+02:00", "CheckOutDate": "2025-04-30T12:44:49.7823561+02:00", "Booker": { "Code": "sample string 1", "Name": "sample string 2" }, "BoardType": { "Code": "sample string 1", "Name": "sample string 2" }, "RoomType": { "Code": "sample string 1", "Name": "sample string 2" }, "Localizers": [ { "LocalizerType": 0, "Code": "sample string 1" }, { "LocalizerType": 0, "Code": "sample string 1" } ], "Guests": "sample string 7", "Remark": "sample string 8", "RoomCode": "sample string 9", "HotelCode": "sample string 10" } ], "Success": true, "Error": "sample string 2" }
application/xml, text/xml
Sample:
<BookingHeaderListQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses.Bookings"> <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> <BookingHeaders xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Contracting"> <d2p1:BookingHeader> <d2p1:BoardType> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:BoardType> <d2p1:Booker> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Booker> <d2p1:BookingState>None</d2p1:BookingState> <d2p1:CheckInDate>2025-04-30T12:44:49.7823561+02:00</d2p1:CheckInDate> <d2p1:CheckOutDate>2025-04-30T12:44:49.7823561+02:00</d2p1:CheckOutDate> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:EndDate>2025-04-30T12:44:49.7823561+02:00</d2p1:EndDate> <d2p1:Guests>sample string 7</d2p1:Guests> <d2p1:HotelCode>sample string 10</d2p1:HotelCode> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Localizers> <d2p1:Localizer> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:LocalizerType>Booker</d2p1:LocalizerType> </d2p1:Localizer> <d2p1:Localizer> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:LocalizerType>Booker</d2p1:LocalizerType> </d2p1:Localizer> </d2p1:Localizers> <d2p1:Remark>sample string 8</d2p1:Remark> <d2p1:RoomCode>sample string 9</d2p1:RoomCode> <d2p1:RoomType> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomType> <d2p1:StartDate>2025-04-30T12:44:49.7823561+02:00</d2p1:StartDate> <d2p1:StayState>None</d2p1:StayState> </d2p1:BookingHeader> <d2p1:BookingHeader> <d2p1:BoardType> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:BoardType> <d2p1:Booker> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Booker> <d2p1:BookingState>None</d2p1:BookingState> <d2p1:CheckInDate>2025-04-30T12:44:49.7823561+02:00</d2p1:CheckInDate> <d2p1:CheckOutDate>2025-04-30T12:44:49.7823561+02:00</d2p1:CheckOutDate> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:EndDate>2025-04-30T12:44:49.7823561+02:00</d2p1:EndDate> <d2p1:Guests>sample string 7</d2p1:Guests> <d2p1:HotelCode>sample string 10</d2p1:HotelCode> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Localizers> <d2p1:Localizer> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:LocalizerType>Booker</d2p1:LocalizerType> </d2p1:Localizer> <d2p1:Localizer> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:LocalizerType>Booker</d2p1:LocalizerType> </d2p1:Localizer> </d2p1:Localizers> <d2p1:Remark>sample string 8</d2p1:Remark> <d2p1:RoomCode>sample string 9</d2p1:RoomCode> <d2p1:RoomType> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomType> <d2p1:StartDate>2025-04-30T12:44:49.7823561+02:00</d2p1:StartDate> <d2p1:StayState>None</d2p1:StayState> </d2p1:BookingHeader> </BookingHeaders> </BookingHeaderListQueryResponse>