SHARE
TWEET

Untitled

a guest Feb 26th, 2020 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Request:
  2. POST /new_booking.php HTTP/1.0
  3. Host: ws-server-test.bookingcenter.com
  4. User-Agent: NuSOAP/0.9.5 (1.123)
  5. Content-Type: text/xml; charset=ISO-8859-1
  6. SOAPAction: "www.bookingcenter.com/xml:HotelResIn"
  7. Content-Length: 2983
  8.  
  9. <?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>
  10.            <OTA_HotelResRQ  xmlns="http://www.opentravel.org/OTA/2003/05">
  11.            <parameters EchoToken="373bf856-d9e4-448c-867f-b63a15694126" TimeStamp="2020-02-26T20:58:45-0800" Target="Production"  Version="1.003" >
  12.            <POS><RequestorID OTA_CodeType="10" ID="THRSIS" MessagePassword="thr33s"/>
  13.            </POS><HotelReservations>
  14.         <HotelReservation>
  15.             <RoomStays>
  16.                 <RoomStay SourceOfBusiness="U" MarketCode="U">
  17.                     <RoomTypes>
  18.                         <RoomType NumberOfUnits="1"/>
  19.                     </RoomTypes>
  20.                     <RatePlans>
  21.                         <RatePlan RatePlanCode="QQ-STD"/></RatePlans>
  22.                     <GuestCounts>
  23.                         <GuestCount AgeQualifyingCode="10" Count="1"/>
  24.                     </GuestCounts>
  25.                     <TimeSpan End="18-Mar-2020" Start="2020-03-16"/>
  26.                     <Guarantee>
  27.                         <GuaranteesAccepted>
  28.                             <GuaranteeAccepted>
  29.                                 <PaymentTransactionTypeCode>Capture</PaymentTransactionTypeCode><PaymentCard>
  30.                                 <CardCode>VI</CardCode>
  31.                                 <CardNumber>3700 0000 0000 028</CardNumber>
  32.                                 <CardHolderName>Mr J Doe</CardHolderName>
  33.                                 <ExpireDate>1221</ExpireDate>
  34.                                 <SeriesCode>123</SeriesCode>
  35.                                 </PaymentCard>
  36.                         </GuaranteeAccepted>
  37.                         </GuaranteesAccepted>
  38.                     </Guarantee>
  39.                      <PaymentPolicies>
  40.                      <GuaranteePayment>
  41.                       <AmountPercent Amount="100" TaxInclusive="N" BasisType="Card Guarantee"/>
  42.                      </GuaranteePayment>
  43.                      </PaymentPolicies>
  44.                      <BasicPropertyInfo ChainCode="BC" HotelCode="THRSIS" AgentCode="BC"/>
  45.            </RoomStay>
  46.            </RoomStays>
  47.             <ResGuests>
  48.                 <ResGuest>
  49.                     <Profiles>
  50.                         <ProfileInfo>
  51.                             <Profile ProfileType="1">
  52.                                 <Customer><Company>BookingCenter Internet Hotel</Company><PersonName>
  53.                                         <NamePrefix>-</NamePrefix>
  54.                                         <GivenName>Steve</GivenName>
  55.                                         <Surname>Farmer</Surname>
  56.                                     </PersonName>
  57.                                     <Telephone PhoneNumber="1234567 PH" PhoneTechType="1"/>
  58.                                      <Telephone PhoneNumber="89012355 MOB/CELL" PhoneTechType="5"/>
  59.                                      <Telephone PhoneNumber="1235467 FAX" PhoneTechType="3"/>
  60.                                     <Email>hts@hts.com.au</Email>
  61.                                     <Address>
  62.                                         <AddressLine>123 Any Street</AddressLine>
  63.                                         <CityName>San Francisco</CityName>
  64.                                         <PostalCode>123456</PostalCode>
  65.                                         <StateProv>CA</StateProv>
  66.                                         <CountryName>United States</CountryName>
  67.                                     </Address>
  68.                                 </Customer>
  69.                             </Profile>
  70.                         </ProfileInfo>
  71.                     </Profiles>
  72.                 </ResGuest>
  73.             </ResGuests>
  74.  
  75.         </HotelReservation>
  76.     </HotelReservations></parameters>
  77.           </OTA_HotelResRQ></SOAP-ENV:Body></SOAP-ENV:Envelope>
  78. Response:
  79. HTTP/1.1 200 OK
  80. Date: Thu, 27 Feb 2020 04:58:45 GMT
  81. Server: Apache/2.4.26 (Unix) OpenSSL/1.0.1e-fips PHP/7.1.27
  82. X-Powered-By: PHP/7.1.27
  83. X-SOAP-Server: NuSOAP/0.9.5 (1.123)
  84. Content-Length: 823
  85. Connection: close
  86. Content-Type: text/xml; charset=ISO-8859-1
  87.  
  88. <?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">
  89.            <parameters EchoToken="373bf856-d9e4-448c-867f-b63a15694126" TimeStamp="2020-02-26T20:58:45-0800" Target="Production"  Version="1.003" >
  90.            
  91.             <POS>
  92.            <RequestorID OTA_CodeType ="13" ID="BC" />
  93. </POS>
  94. <Errors>
  95.          <Error Type="3" ShortText="Error: Not enough Availability for these dates for RoomType: QQ"  Code="0" />
  96.      </Errors></parameters>
  97.      </OTA_HotelResRS></SOAP-ENV:Body></SOAP-ENV:Envelope>
  98. TOKEN: 373bf856-d9e4-448c-867f-b63a15694126
  99. TIMESTAMP: 2020-02-26T20:58:45-0800
  100. VERSION: 1.003
  101. REQUESTOR: BC
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top