Sample of SubmitCruiseTransaction with Correlation Token Response

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.

Request

The following requests a hold on a cabin. 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.

  <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.

    <Request>

    <Transaction>

Indicates which cruise transaction is being used. In this case, a cabin hold is requested.

      <CruiseCabinHold_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.

        <CabinResMods>

          <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>

        </CabinResMods>

      </CruiseCabinHold_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>

Response

The following response returns a successful cabin hold, as well as a correlation token to be used in the next request.

 

<SubmitCruiseTransactionResponse xmlns="http://webservices.galileo.com">

  <Response>

    <Responses xmlns="http://ns.galileo.com">

      <Response>

        <CruiseCabinHold_1_0 xmlns="">

          <CabinRes>

            <PassengerDataRules>

              <WaiverInsInd>Y</WaiverInsInd>

              <WaiverInsIndDefault>Y</WaiverInsIndDefault>

              <TitleInd>Y</TitleInd>

              <AgeInd>Y</AgeInd>

              <GenderInd>Y</GenderInd>

              <PastPsgrInd>N</PastPsgrInd>

              <LNameLen>16</LNameLen>

              <FNameLen>12</FNameLen>

              <TitleLen>12</TitleLen>

              <RateCodeSpecific />

            </PassengerDataRules>

          </CabinRes>

        </CruiseCabinHold_1_0>

      </Response>

    </Responses>

  </Response>

  <CorrelationToken>haT/kL2cZjyvRwDeh5szn2twIF2BI6bL</CorrelationToken>

</SubmitCruiseTransactionResponse>