This sample request of SubmitCruiseTransaction takes the following:
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.
The following request sailing, rate code, and category availabilities for a cruise. No correlation token is required and the filter is empty, meaning that the full response is being requested.
Explanation |
Code |
Identifies the namespace for the submit cruise transaction. |
<SubmitCruiseTransaction xmlns="http://webservices.galileo.com"> |
Identifies the host access profile being used. |
<Profile>DynApolloCopy_XXX</Profile> |
This request does not require a correlation token; therefore, it is empty. |
<CorrelationToken /> |
Begins the transaction request. |
<Transactions> <Requests xmlns="http://ns.galileo.com"> |
Begins the request. Follows the format for MultiSubmitXml. |
<Request> <Transaction> |
Indicates which cruise transaction is being used. In this case, cruise availability is being used. The information in the request is based on the requirements within the individual cruise transaction. The information in this section changes depending on the transaction used. |
<CruiseAvailability_1_0 xmlns=""> <CruiseAvailMods> <VendorRegionMods> <Action>S</Action> <RegionName><![CDATA[WESTERN CARIBBEAN ]]></RegionName> <CruV1>PCL</CruV1> <CruV2></CruV2> <CruV3></CruV3> <CruV4></CruV4> <Currency>USD</Currency> <StartDt>20030901</StartDt> <Duration>007</Duration> <StartPt>DEN </StartPt> <StartPtChgInd></StartPtChgInd> <AirTransRequested>N</AirTransRequested> <AirTransChgInd></AirTransChgInd> <NumPsgrs>1</NumPsgrs> <Age1>40</Age1> <Age2><![CDATA[ ]]></Age2> <Age3><![CDATA[ ]]></Age3> <Age4><![CDATA[ ]]></Age4> <Age5><![CDATA[ ]]></Age5> </VendorRegionMods> </CruiseAvailMods> </CruiseAvailability_1_0> </Transaction> |
This filter is applied to the response. In this case, the filter is empty and the entire response is returned. |
<Filter><_ xmlns="" /></Filter> |
Ends the request. |
</Request> </Requests> </Transactions> </SubmitCruiseTransaction> |
The following response returns the cruise availability results. No correlation token is returned in this response.
<SubmitCruiseTransactionResponse xmlns="http://webservices.galileo.com">
<Response>
<Responses xmlns="http://ns.galileo.com">
<Response>
<CruiseAvailability_1_0 xmlns="">
<CruiseAvail>
<SailingAvailability>
<SailingAry>
<Sailing>
<DayNightInd>D</DayNightInd>
<InsuranceInd>I</InsuranceInd>
<ShipName>GRAND PRINCESS</ShipName>
<StartDt>20030824</StartDt>
<StartDay>SU</StartDay>
<StartPort>FLL</StartPort>
<EndPort>FLL</EndPort>
<Duration>7</Duration>
<Status>SS</Status>
<PkgID><![CDATA[A332D DEN U]]></PkgID>
<ItinInd>Y</ItinInd>
<DineStatus1>SS</DineStatus1>
<DineStatus2>SS</DineStatus2>
</Sailing>
<Sailing>
<DayNightInd>D</DayNightInd>
<InsuranceInd>I</InsuranceInd>
<ShipName>GRAND PRINCESS</ShipName>
<StartDt>20030907</StartDt>
<StartDay>SU</StartDay>
<StartPort>FLL</StartPort>
<EndPort>FLL</EndPort>
<Duration>7</Duration>
<Status>SS</Status>
<PkgID><![CDATA[A332F DEN U]]></PkgID>
<ItinInd>Y</ItinInd>
<DineStatus1>SS</DineStatus1>
<DineStatus2>SS</DineStatus2>
</Sailing>
</SailingAry>
</SailingAvailability>
</CruiseAvail>
</CruiseAvailability_1_0>
</Response>
</Responses>
</Response>
<CorrelationToken />
</SubmitCruiseTransactionResponse>