Skip to main content

Sample Simple Trip GIR Request

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<SOAP-ENV:Header>
		<m:MessageHeader xmlns:m="http://www.ebxml.org/namespaces/messageHeader">
			<m:From>
				<m:PartyId type="urn:x12.org:IO5:01">99999</m:PartyId>
			</m:From>
			<m:To>
				<m:PartyId type="urn:x12.org:IO5:01">123123</m:PartyId>
			</m:To>
			<m:CPAId>ABC</m:CPAId>
			<m:ConversationId>abc123</m:ConversationId>
			<m:Service m:type="OTA">Air Shopping Service</m:Service>
			<m:Action>BargainFinderMaxRQ</m:Action>
			<m:MessageData>
				<m:MessageId>mid:20001209-133003-2333@clientofsabre.com</m:MessageId>
				<m:Timestamp>2001-02-15T11:15:12Z</m:Timestamp>
				<m:TimeToLive>2001-02-15T11:15:12Z</m:TimeToLive>
			</m:MessageData>
			<m:DuplicateElimination/>
			<m:Description>Bargain Finder Max Service</m:Description>
		</m:MessageHeader>
		<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
			<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTC!ICESMSLB\/CRT.LB!-4502967208763378812!141.8.6!0</wsse:BinarySecurityToken>
		</wsse:Security>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<OTA_AirLowFareSearchRQ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Target="Production" Version="1.8.6" ResponseType="GIR" ResponseVersion="1.0.3">
			<POS>
				<Source PseudoCityCode="PCC">
					<RequestorID ID="1" Type="1">
						<CompanyName Code="TN"/>
					</RequestorID>
				</Source>
			</POS>
			<OriginDestinationInformation RPH="1">
				<DepartureDateTime>2015-10-15T12:00:00</DepartureDateTime>
				<OriginLocation LocationCode="LHR"/>
				<DestinationLocation LocationCode="ISB"/>
				<TPA_Extensions>
					<SegmentType Code="O"/>
				</TPA_Extensions>
			</OriginDestinationInformation>
			<OriginDestinationInformation RPH="2">
				<DepartureDateTime>2015-11-15T12:00:00</DepartureDateTime>
				<OriginLocation LocationCode="ISB"/>
				<DestinationLocation LocationCode="LHR"/>
				<TPA_Extensions>
					<SegmentType Code="O"/>
				</TPA_Extensions>
			</OriginDestinationInformation>
			<TravelPreferences>
				<CabinPref Cabin="Y"/>
				<TPA_Extensions>
					<NumTripsWithRouting Number="10"/>
					<TripType Value="Return"/>
				</TPA_Extensions>
			</TravelPreferences>
			<TravelerInfoSummary>
				<AirTravelerAvail>
					<PassengerTypeQuantity Code="NEG" Quantity="1"/>
				</AirTravelerAvail>
				<PriceRequestInformation CurrencyCode="GBP">
				</PriceRequestInformation>
			</TravelerInfoSummary>
			<TPA_Extensions>
				<IntelliSellTransaction>
					<RequestType Name="50ITINS"/>
				</IntelliSellTransaction>
			</TPA_Extensions>
		</OTA_AirLowFareSearchRQ>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>/*  */