PerfectXML
Click here for a complete list of operations.
ItineraryBook
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.perfectibe.com/ItineraryBook"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ItineraryBook xmlns="http://webservices.perfectibe.com/">
<ItineraryBookRQ>
<Authentication>
<UserName>string</UserName>
<Password>string</Password>
<WebSiteID>string</WebSiteID>
<APIKey>string</APIKey>
<APIRev>string</APIRev>
<UserID>string</UserID>
<UserHostAddress>string</UserHostAddress>
<UserAgent>string</UserAgent>
<UserHostName>string</UserHostName>
</Authentication>
<SID>string</SID>
<AirBookRQ>
<AirBookItineraryRQ>
<Authentication xsi:nil="true" />
<SID>string</SID>
<ItineraryToken>string</ItineraryToken>
<BrandID>string</BrandID>
<Baggage>string</Baggage>
<AdultTravellers xsi:nil="true" />
<ChildTravellers xsi:nil="true" />
<InfantTravellers xsi:nil="true" />
<InfantWithSeatTravellers xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<CancellationInsurance>boolean</CancellationInsurance>
<AccountNumber>string</AccountNumber>
<Remarks xsi:nil="true" />
</AirBookItineraryRQ>
<AirBookItineraryRQ>
<Authentication xsi:nil="true" />
<SID>string</SID>
<ItineraryToken>string</ItineraryToken>
<BrandID>string</BrandID>
<Baggage>string</Baggage>
<AdultTravellers xsi:nil="true" />
<ChildTravellers xsi:nil="true" />
<InfantTravellers xsi:nil="true" />
<InfantWithSeatTravellers xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<CancellationInsurance>boolean</CancellationInsurance>
<AccountNumber>string</AccountNumber>
<Remarks xsi:nil="true" />
</AirBookItineraryRQ>
</AirBookRQ>
<HotelBookRQ>
<HotelRoomReserveRQ>
<Authentication xsi:nil="true" />
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<RoomShortDescription>string</RoomShortDescription>
<RoomLongDescription>string</RoomLongDescription>
<RoomType>string</RoomType>
<RoomTypeDescription>string</RoomTypeDescription>
<RateKey>string</RateKey>
<RateCode>string</RateCode>
<RateCurrency>string</RateCurrency>
<RateAmount>decimal</RateAmount>
<ROECurrency>string</ROECurrency>
<ROE>string</ROE>
<RoomBookGrp xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<LoyaltyID>string</LoyaltyID>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</HotelRoomReserveRQ>
<HotelRoomReserveRQ>
<Authentication xsi:nil="true" />
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<RoomShortDescription>string</RoomShortDescription>
<RoomLongDescription>string</RoomLongDescription>
<RoomType>string</RoomType>
<RoomTypeDescription>string</RoomTypeDescription>
<RateKey>string</RateKey>
<RateCode>string</RateCode>
<RateCurrency>string</RateCurrency>
<RateAmount>decimal</RateAmount>
<ROECurrency>string</ROECurrency>
<ROE>string</ROE>
<RoomBookGrp xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<LoyaltyID>string</LoyaltyID>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</HotelRoomReserveRQ>
</HotelBookRQ>
<CarBookRQ>
<CarRateReserveRQ>
<Authentication xsi:nil="true" />
<VehicleToken>string</VehicleToken>
<SpecialEquip xsi:nil="true" />
<Coverage xsi:nil="true" />
<Driver xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</CarRateReserveRQ>
<CarRateReserveRQ>
<Authentication xsi:nil="true" />
<VehicleToken>string</VehicleToken>
<SpecialEquip xsi:nil="true" />
<Coverage xsi:nil="true" />
<Driver xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</CarRateReserveRQ>
</CarBookRQ>
<AccountNumber>string</AccountNumber>
<Remarks>
<string>string</string>
<string>string</string>
</Remarks>
</ItineraryBookRQ>
</ItineraryBook>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ItineraryBookResponse xmlns="http://webservices.perfectibe.com/">
<ItineraryBookResult>
<Errors>
<Code>string</Code>
<Description>string</Description>
</Errors>
<RLOC>string</RLOC>
<AirlineRLOC>string</AirlineRLOC>
<HotelRLOC>string</HotelRLOC>
<CarRLOC>string</CarRLOC>
<DisplayHtml>string</DisplayHtml>
<EMailSent>boolean</EMailSent>
</ItineraryBookResult>
</ItineraryBookResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ItineraryBook xmlns="http://webservices.perfectibe.com/">
<ItineraryBookRQ>
<Authentication>
<UserName>string</UserName>
<Password>string</Password>
<WebSiteID>string</WebSiteID>
<APIKey>string</APIKey>
<APIRev>string</APIRev>
<UserID>string</UserID>
<UserHostAddress>string</UserHostAddress>
<UserAgent>string</UserAgent>
<UserHostName>string</UserHostName>
</Authentication>
<SID>string</SID>
<AirBookRQ>
<AirBookItineraryRQ>
<Authentication xsi:nil="true" />
<SID>string</SID>
<ItineraryToken>string</ItineraryToken>
<BrandID>string</BrandID>
<Baggage>string</Baggage>
<AdultTravellers xsi:nil="true" />
<ChildTravellers xsi:nil="true" />
<InfantTravellers xsi:nil="true" />
<InfantWithSeatTravellers xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<CancellationInsurance>boolean</CancellationInsurance>
<AccountNumber>string</AccountNumber>
<Remarks xsi:nil="true" />
</AirBookItineraryRQ>
<AirBookItineraryRQ>
<Authentication xsi:nil="true" />
<SID>string</SID>
<ItineraryToken>string</ItineraryToken>
<BrandID>string</BrandID>
<Baggage>string</Baggage>
<AdultTravellers xsi:nil="true" />
<ChildTravellers xsi:nil="true" />
<InfantTravellers xsi:nil="true" />
<InfantWithSeatTravellers xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<CancellationInsurance>boolean</CancellationInsurance>
<AccountNumber>string</AccountNumber>
<Remarks xsi:nil="true" />
</AirBookItineraryRQ>
</AirBookRQ>
<HotelBookRQ>
<HotelRoomReserveRQ>
<Authentication xsi:nil="true" />
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<RoomShortDescription>string</RoomShortDescription>
<RoomLongDescription>string</RoomLongDescription>
<RoomType>string</RoomType>
<RoomTypeDescription>string</RoomTypeDescription>
<RateKey>string</RateKey>
<RateCode>string</RateCode>
<RateCurrency>string</RateCurrency>
<RateAmount>decimal</RateAmount>
<ROECurrency>string</ROECurrency>
<ROE>string</ROE>
<RoomBookGrp xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<LoyaltyID>string</LoyaltyID>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</HotelRoomReserveRQ>
<HotelRoomReserveRQ>
<Authentication xsi:nil="true" />
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<RoomShortDescription>string</RoomShortDescription>
<RoomLongDescription>string</RoomLongDescription>
<RoomType>string</RoomType>
<RoomTypeDescription>string</RoomTypeDescription>
<RateKey>string</RateKey>
<RateCode>string</RateCode>
<RateCurrency>string</RateCurrency>
<RateAmount>decimal</RateAmount>
<ROECurrency>string</ROECurrency>
<ROE>string</ROE>
<RoomBookGrp xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<LoyaltyID>string</LoyaltyID>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</HotelRoomReserveRQ>
</HotelBookRQ>
<CarBookRQ>
<CarRateReserveRQ>
<Authentication xsi:nil="true" />
<VehicleToken>string</VehicleToken>
<SpecialEquip xsi:nil="true" />
<Coverage xsi:nil="true" />
<Driver xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</CarRateReserveRQ>
<CarRateReserveRQ>
<Authentication xsi:nil="true" />
<VehicleToken>string</VehicleToken>
<SpecialEquip xsi:nil="true" />
<Coverage xsi:nil="true" />
<Driver xsi:nil="true" />
<FOPType>string</FOPType>
<FOPInfo>string</FOPInfo>
<FOP xsi:nil="true" />
<ClientInfo xsi:nil="true" />
<AccountNumber>string</AccountNumber>
<CommissionAmount>string</CommissionAmount>
<Remarks xsi:nil="true" />
</CarRateReserveRQ>
</CarBookRQ>
<AccountNumber>string</AccountNumber>
<Remarks>
<string>string</string>
<string>string</string>
</Remarks>
</ItineraryBookRQ>
</ItineraryBook>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ItineraryBookResponse xmlns="http://webservices.perfectibe.com/">
<ItineraryBookResult>
<Errors>
<Code>string</Code>
<Description>string</Description>
</Errors>
<RLOC>string</RLOC>
<AirlineRLOC>string</AirlineRLOC>
<HotelRLOC>string</HotelRLOC>
<CarRLOC>string</CarRLOC>
<DisplayHtml>string</DisplayHtml>
<EMailSent>boolean</EMailSent>
</ItineraryBookResult>
</ItineraryBookResponse>
</soap12:Body>
</soap12:Envelope>