Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request:
- POST /new_booking.php HTTP/1.0
- Host: ws-server-test.bookingcenter.com
- User-Agent: NuSOAP/0.9.5 (1.123)
- Content-Type: text/xml; charset=ISO-8859-1
- SOAPAction: "www.bookingcenter.com/xml:HotelResIn"
- Content-Length: 2983
- <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2467="http://tempuri.org"><SOAP-ENV:Body>
- <OTA_HotelResRQ xmlns="http://www.opentravel.org/OTA/2003/05">
- <parameters EchoToken="373bf856-d9e4-448c-867f-b63a15694126" TimeStamp="2020-02-26T20:58:45-0800" Target="Production" Version="1.003" >
- <POS><RequestorID OTA_CodeType="10" ID="THRSIS" MessagePassword="thr33s"/>
- </POS><HotelReservations>
- <HotelReservation>
- <RoomStays>
- <RoomStay SourceOfBusiness="U" MarketCode="U">
- <RoomTypes>
- <RoomType NumberOfUnits="1"/>
- </RoomTypes>
- <RatePlans>
- <RatePlan RatePlanCode="QQ-STD"/></RatePlans>
- <GuestCounts>
- <GuestCount AgeQualifyingCode="10" Count="1"/>
- </GuestCounts>
- <TimeSpan End="18-Mar-2020" Start="2020-03-16"/>
- <Guarantee>
- <GuaranteesAccepted>
- <GuaranteeAccepted>
- <PaymentTransactionTypeCode>Capture</PaymentTransactionTypeCode><PaymentCard>
- <CardCode>VI</CardCode>
- <CardNumber>3700 0000 0000 028</CardNumber>
- <CardHolderName>Mr J Doe</CardHolderName>
- <ExpireDate>1221</ExpireDate>
- <SeriesCode>123</SeriesCode>
- </PaymentCard>
- </GuaranteeAccepted>
- </GuaranteesAccepted>
- </Guarantee>
- <PaymentPolicies>
- <GuaranteePayment>
- <AmountPercent Amount="100" TaxInclusive="N" BasisType="Card Guarantee"/>
- </GuaranteePayment>
- </PaymentPolicies>
- <BasicPropertyInfo ChainCode="BC" HotelCode="THRSIS" AgentCode="BC"/>
- </RoomStay>
- </RoomStays>
- <ResGuests>
- <ResGuest>
- <Profiles>
- <ProfileInfo>
- <Profile ProfileType="1">
- <Customer><Company>BookingCenter Internet Hotel</Company><PersonName>
- <NamePrefix>-</NamePrefix>
- <GivenName>Steve</GivenName>
- <Surname>Farmer</Surname>
- </PersonName>
- <Telephone PhoneNumber="1234567 PH" PhoneTechType="1"/>
- <Telephone PhoneNumber="89012355 MOB/CELL" PhoneTechType="5"/>
- <Telephone PhoneNumber="1235467 FAX" PhoneTechType="3"/>
- <Email>hts@hts.com.au</Email>
- <Address>
- <AddressLine>123 Any Street</AddressLine>
- <CityName>San Francisco</CityName>
- <PostalCode>123456</PostalCode>
- <StateProv>CA</StateProv>
- <CountryName>United States</CountryName>
- </Address>
- </Customer>
- </Profile>
- </ProfileInfo>
- </Profiles>
- </ResGuest>
- </ResGuests>
- </HotelReservation>
- </HotelReservations></parameters>
- </OTA_HotelResRQ></SOAP-ENV:Body></SOAP-ENV:Envelope>
- Response:
- HTTP/1.1 200 OK
- Date: Thu, 27 Feb 2020 04:58:45 GMT
- Server: Apache/2.4.26 (Unix) OpenSSL/1.0.1e-fips PHP/7.1.27
- X-Powered-By: PHP/7.1.27
- X-SOAP-Server: NuSOAP/0.9.5 (1.123)
- Content-Length: 823
- Connection: close
- Content-Type: text/xml; charset=ISO-8859-1
- <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><OTA_HotelResRS xmlns="http://www.opentravel.org/OTA/2003/05/hotelres">
- <parameters EchoToken="373bf856-d9e4-448c-867f-b63a15694126" TimeStamp="2020-02-26T20:58:45-0800" Target="Production" Version="1.003" >
- <POS>
- <RequestorID OTA_CodeType ="13" ID="BC" />
- </POS>
- <Errors>
- <Error Type="3" ShortText="Error: Not enough Availability for these dates for RoomType: QQ" Code="0" />
- </Errors></parameters>
- </OTA_HotelResRS></SOAP-ENV:Body></SOAP-ENV:Envelope>
- TOKEN: 373bf856-d9e4-448c-867f-b63a15694126
- TIMESTAMP: 2020-02-26T20:58:45-0800
- VERSION: 1.003
- REQUESTOR: BC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement