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 releases a hold that was put on a cabin. A 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. |
<Profile>DynApolloCopy_XXX</Profile> |
This request requires a correlation token. |
<CorrelationToken>haT/kL2cZjyvRwDeh5szn2twIF2BI6bL</CorrelationToken> |
Begins the transaction request. |
<Transactions> <Requests xmlns="http://ns.galileo.com"> |
Begins the request. |
<Request> <Transaction> |
Indicates which cruise transaction is being used. In this case, a cabin that had a hold on it is being released. |
<CruiseCabinRelease_1_0 xmlns=""> |
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. ![CDATA] is used to preserve multiple spaces. In some XML Select transactions, blank spaces are needed. See the help for each transaction for spacing requirements. |
<CabinReleaseMods> <VendorRegionMods> <Action></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> <SailingMods> <PkgID><![CDATA[A336 DENNU]]></PkgID> <VConfNum></VConfNum> <VRecID></VRecID> <ShipName>GRAND PRINCESS</ShipName> <StartPort>FLL </StartPort> <EndPort>FLL </EndPort> <Rate>BNN</Rate> <RateChgInd></RateChgInd> </SailingMods> <CabinCategoryHoldMods> <CruV>PCL</CruV> <Rate>BNN</Rate> <Cat>GS</Cat> <CabinNum>L301</CabinNum> </CabinCategoryHoldMods> </CabinReleaseMods> </CruiseCabinRelease_1_0> </Transaction> |
Filter for the response. In this case, the filter is empty, meaning that the entire response is returned. |
<Filter><_ xmlns=""></_></Filter>
|
Ends the request. |
</Request> </Requests> </Transactions> </SubmitCruiseTransaction> |
The following response returns a successful cabin release. No correlation token is returned.
<SubmitCruiseTransactionResponse xmlns="http://webservices.galileo.com">
<Response>
<Responses xmlns="http://ns.galileo.com">
<Response>
<CruiseCabinRelease_1_0 xmlns="">
<CabinRelease>
<TextMsg>
<Txt>CABIN RELEASE SUCCESSFUL</Txt>
</TextMsg>
</CabinRelease>
</CruiseCabinRelease_1_0>
</Response>
</Responses>
</Response>
<CorrelationToken />
</SubmitCruiseTransactionResponse>