This sample of SubmitXmlOnSession takes a session token, an XML request, and a filter. Sessions are needed when creating a PNR. Some of the XML transactions that require a session are AgencyPNRBFBuildModify_6_0_1, ClientFile_1_0, FareQuoteTariffDisplay_8_0 with a following rules display, and any transaction that begins with Session.
Note: Currently, only uppercase is supported within the transaction requests. When lowercase is supported, the documentation will be updated to reflect where it is supported.
<SubmitXmlOnSession xmlns="http://webservices.galileo.com"> <Token>Tyv8NKo+WiAuqQVR3H09+7QBvWWvgwIAXg4IFYGpVnZD09c4l9VXnQ/VDkxJ4oxnIyt5D/+nLzcwi/GRLSy+n646anneL1zCVOvXxN8nDiE=</Token>
<Request>
<AirSegmentSell_6_0>
<AirSegSellMods>
<AirSegSell>
<Vnd>UA </Vnd>
<FltNum>0242</FltNum>
<OpSuf></OpSuf>
<Class>Y </Class>
<StartDt>20021210</StartDt>
<StartAirp>DEN</StartAirp>
<EndAirp>ORD</EndAirp>
<Status>NN</Status>
<NumPsgrs>2</NumPsgrs>
<StartTm>0800</StartTm>
<EndTm>1115</EndTm>
<DtChg>00</DtChg>
<StopoverIgnoreInd></StopoverIgnoreInd>
<AvailDispType>G</AvailDispType>
<VSpec></VSpec>
<AvailJrnyNum>
<![CDATA[ ]]>
</AvailJrnyNum>
</AirSegSell>
</AirSegSellMods>
</AirSegmentSell_6_0>
</Request>
<Filter>
<_ xmlns=""/>
</Filter>
</SubmitXmlOnSession>
<SubmitXmlOnSessionResponse xmlns="http://webservices.galileo.com">
<SubmitXmlOnSessionResult>
<AirSegmentSell_6_0 xmlns="">
<TransactionErrorCode>
<Domain>AppErrorSeverityLevel</Domain>
<Code>2</Code>
</TransactionErrorCode>
<AirSegSell>
<AirSell>
<DisplaySequenceNumber />
<Vnd>UA</Vnd>
<FltNum>242</FltNum>
<OpSuf />
<Class>Y</Class>
<StartDt />
<DtChg />
<StartAirp>DEN</StartAirp>
<EndAirp>ORD</EndAirp>
<StartTm />
<EndTm />
<Status>NN</Status>
<NumPsgrs />
<SellType />
<SellValidityPeriod />
<MarriageNum />
<SuccessInd>N</SuccessInd>
<COG />
<TklessInd />
<FareQuoteTkIgnInd />
<StopoverInd />
<AvailyBypassInd />
</AirSell>
<ErrText>
<Header>
<Delimiter>F</Delimiter>
<Level>1</Level>
</Header>
<Err />
<KlrInErr />
<InsertedTextAry>
</InsertedTextAry>
<Text>DUPLICATE SEGMENT NOT PERMITTED *</Text>
</ErrText>
</AirSegSell>
</AirSegmentSell_6_0>
</SubmitXmlOnSessionResult>
</SubmitXmlOnSessionResponse>