5 Sample XML Request

This following section describes the sample XML request for each available functions.

Swavail

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/">
<soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken </Value>
</BearerToken></soap:Header>
<soap:Body><swavail xmlns="http://tempuri.org/SWReservation">
<psXML><XML><![CDATA[<swavail>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<location_code>STEA</location_code>
<product_code>DINNER</product_code>
<availability_type>R</availability_type>
<date>20210921</date>
<time>1800</time>
<number_of_guests>2</number_of_guests>
<vip_status>N</vip_status>
<comments>Window - 111</comments>
<reservation_id>0</reservation_id>
<FilterTimeFrom />
<FilterTimeTo />
<force_restiction>N</force_restiction>
<guest_information_list>
<guest_information>
<last_name>test1</last_name>
<first_name>test1</first_name>
<cabin>1234</cabin>
<guest_id>1122331</guest_id>
<group_id>0</group_id>
</guest_information>
<guest_information>
<last_name>test2</last_name>
<first_name>test2</first_name>
<cabin>1234</cabin>
<guest_id>1122332</guest_id>
<group_id>0</group_id>
</guest_information>
</guest_information_list>
</swavail>]]>
</XML></psXML></swavail>
</soap:Body></soap:Envelope>

Swavailmultipledays

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swavailmultipledays xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swavailmultipledays>
<request_id>3943</request_id>
<daydetail_list>
<daydetail>
<ship_code>OC</ship_code>
<location_code>STEA</location_code>
<product_code>string</product_code>
<availability_type>string</availability_type>
<comments>string</comments>
<date>20240118</date>
<time>1800</time>
<number_of_guests>4</number_of_guests>
<vip_status></vip_status>
<first_name>string</first_name>
<cabin>string</cabin>
<diningtype></diningtype>
<guest_information_list>
<guest_information>
<ship_code>OC</ship_code>
<location_code>STEA</location_code>
<product_code>DINNER</product_code>
<date>20240118</date>
<time>1800</time>
<last_name>string</last_name>
<first_name>string</first_name>
<cabin>string</cabin>
<guest_id>11778</guest_id>
</guest_information>
</guest_information_list>
</daydetail>
</daydetail_list>
</swavailmultipledays>]]></XML></psXML></swavailmultipledays></soap:Body></soap:Envelope>

Swbeat

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:Body><swbeat xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swbeat>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<check_database>Y</check_database>
</swbeat>]]></XML></psXML></swbeat></soap:Body></soap:Envelope>

Swbook

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swbook xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swbook>
<request_id>3943</request_id>
<reservation_id>1122</reservation_id>
<ship_code>OC</ship_code>
<share_table></share_table>
<guest_information_list>
<guest_information>
<last_name>string</last_name>
<first_name>string</first_name>
<cabin>string</cabin>
<guest_id>12232</guest_id>
<owner_id>3220</owner_id>
<amount_paid>1200</amount_paid>
<transaction_xref_number>16632</transaction_xref_number>
<control_sequence_nbr>16634</control_sequence_nbr>
<payment_id>string</payment_id>
<payment_type>A</payment_type>
<booking_amount>297808</booking_amount>
<last4digistofcc>A</last4digistofcc>
<check_or_moneyorder_nbr>string</check_or_moneyorder_nbr>
<email_address>string</email_address>
<fax_number>string</fax_number>
<remarks>string</remarks>
<payment_status></payment_status>
<gift_flag></gift_flag>
<onboard_currency_exchange_rate>12</onboard_currency_exchange_rate>
<onboard_currency_code></onboard_currency_code>
<payer_name></payer_name>
<discount_amount>500</discount_amount>
</guest_information>
<guest_information>
<last_name>string</last_name>
<first_name>string</first_name>
<cabin>string</cabin>
<guest_id>18934</guest_id>
<group_id>string</group_id>
<owner_id>2244</owner_id>
<amount_paid>16231</amount_paid>
<transaction_xref_number>34235</transaction_xref_number>
<control_sequence_nbr>76555</control_sequence_nbr>
<payment_id>string</payment_id>
<payment_type>A</payment_type>
<booking_amount>2225</booking_amount>
<last4digistofcc>AB</last4digistofcc>
<check_or_moneyorder_nbr>string</check_or_moneyorder_nbr>
<email_address>string</email_address>
<fax_number>string</fax_number>
<remarks>string</remarks>
<payment_status></payment_status>
<gift_flag></gift_flag>
<onboard_currency_exchange_rate>12</onboard_currency_exchange_rate>
<onboard_currency_code></onboard_currency_code>
<payer_name></payer_name>
<discount_amount>4392</discount_amount>
</guest_information>
</guest_information_list>
</swbook>]]></XML></psXML></swbook></soap:Body></soap:Envelope>

Swbookmultipledays

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swbookmultipledays xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swbookmultipledays>
<request_id>111</request_id>
<ship_code>Shipcode</ship_code>
<reservation_details_list>
<reservation_details>
<reservation_id>0</reservation_id>
<share_table>Y</share_table>
<guest_information_list>
<guest_information>
<last_name>string</last_name>
<first_name>string</first_name>
<cabin>string</cabin>
<guest_id>12232</guest_id>
<owner_id>3220</owner_id>
<amount_paid>1200</amount_paid>
<transaction_xref_number>16632</transaction_xref_number>
<control_sequence_nbr>16634</control_sequence_nbr>
<payment_id>string</payment_id>
<payment_type>A</payment_type>
<booking_amount>297808</booking_amount>
<last4digistofcc>A</last4digistofcc>
<check_or_moneyorder_nbr>string</check_or_moneyorder_nbr>
<email_address>string</email_address>
<fax_number>string</fax_number>
<remarks>string</remarks>
<payment_status></payment_status>
<gift_flag></gift_flag>
<onboard_currency_exchange_rate>12</onboard_currency_exchange_rate>
<onboard_currency_code></onboard_currency_code>
<payer_name></payer_name>
<discount_amount>500</discount_amount>
</guest_information>
<guest_information>
<last_name>string</last_name>
<first_name>string</first_name>
<cabin>string</cabin>
<guest_id>18934</guest_id>
<group_id>string</group_id>
<owner_id>2244</owner_id>
<amount_paid>16231</amount_paid>
<transaction_xref_number>34235</transaction_xref_number>
<control_sequence_nbr>76555</control_sequence_nbr>
<payment_id>string</payment_id>
<payment_type>A</payment_type>
<booking_amount>2225</booking_amount>
<last4digistofcc>AB</last4digistofcc>
<check_or_moneyorder_nbr>string</check_or_moneyorder_nbr>
<email_address>string</email_address>
<fax_number>string</fax_number>
<remarks>string</remarks>
<payment_status></payment_status>
<gift_flag></gift_flag>
<onboard_currency_exchange_rate>12</onboard_currency_exchange_rate>
<onboard_currency_code></onboard_currency_code>
<payer_name></payer_name>
<discount_amount>4392</discount_amount>
</guest_information>
</guest_information_list>
</reservation_details>
</reservation_details_list>
</swbookmultipledays>]]></XML></psXML>
</swbookmultipledays></soap:Body></soap:Envelope>

Swcalendar

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swcalendar xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swcalendar>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<guest_information_list>
<guest_information>
<list_Type>G</list_Type>
<list_Id>112233</list_Id>
</guest_information>
<guest_information>
<list_Type>R</list_Type>
<list_Id>0</list_Id>
</guest_information>
</guest_information_list>
</swcalendar>]]></XML></psXML></swcalendar></soap:Body></soap:Envelope>

Swcancel

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swcancel xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swcancel>
<request_id>111</request_id>
<reservation_id>3011247</reservation_id>
<ship_code>OC</ship_code>
</swcancel>]]></XML></psXML></swcancel></soap:Body></soap:Envelope>

Swdmttableallocation

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swdmgttableallocation xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swdmgttableallocation>
<request_id>3943</request_id>
<ship_code>OC</ship_code>
<cruise_id>OC2024-01-18</cruise_id>
<group_id>2124861</group_id>
</swdmgttableallocation>]]></XML></psXML></swdmgttableallocation></soap:Body></soap:Envelope>

Swextend

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swextend xmlns="http://tempuri.org/SWReservation"><psXML><XML>
<![CDATA[<swextend>
<request_id>111</request_id>
<reservation_id>3011247</reservation_id>
<ship_code>OC</ship_code>
</swextend>]]></XML></psXML></swextend></soap:Body></soap:Envelope>

Swguestadd

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:header><BearerToken xmlns=http://tempuri.org/SWReservation>
<Value>AccessToken</Value>
</BearerToken></soap:Header>
<soap:Body><swguestadd xmlns="http://tempuri.org/SWReservation"><psXML><XML><![CDATA[<swguestadd>
<request_id>111</request_id>
<reservation_id>3011247</reservation_id>
<ship_code>OC</ship_code>
<vip_status>N</vip_status>
<guest_information_list>
<guest_information>
<guest_id>112233003</guest_id>
<last_name>test ADD 3</last_name>
<first_name>test ADD 3</first_name>
<cabin>1234</cabin>
</guest_information>
</guest_information_list>
</swguestadd>]]></XML></psXML></swguestadd></soap:Body></soap:Envelope>

Swguestdelete

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swguestdelete xmlns="http://tempuri.org/SWReservation"> <psXML> <XML>
<![CDATA[<swguestdelete>
<request_id>3943</request_id>
<reservation_id>10000014546</reservation_id>
<ship_code>OC</ship_code>
<vip_status>N</vip_status>
<guest_information_list>
<guest_information>
<guest_id>112233003</guest_id>
<last_name>test ADD 3</last_name>
<first_name>test ADD 3</first_name>
</guest_information>
</guest_information_list>
</swguestdelete>]]></XML></psXML></swguestdelete></soap:Body></soap:Envelope>

Swmodify

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swmodify xmlns="http://tempuri.org/SWReservation"><psXML><XML>
<![CDATA[<swmodify>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<old_reservation_id>3011247</old_reservation_id>
<new_reservation_id>123456789</new_reservation_id>
<share_table>Y</share_table>
</swmodify>]]></XML></psXML></swmodify></soap:Body></soap:Envelope>

Swpaymentstatus

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swpaymentstatus xmlns="http://tempuri.org/SWReservation"> <psXML><XML>
<![CDATA[<swpaymentstatus>
<request_id>111</request_id>
<reservation_id>3011247</reservation_id>
<ship_code>OC</ship_code>
<guest_information_list>
<guest_information>
<guest_id>112233</guest_id>
<payment_status>P</payment_status>
<payer_name>Travel</payer_name>
<gift_flag>N</gift_flag>
<booking_amount>25</booking_amount>
<discount_amount>11</discount_amount>
<onboard_currency_exchange_rate>1</ onboard_currency_exchange_rate>
<onboard_currency_code>USD</onboard_currency_code>
<amount_paid>25</amount_paid>
<transaction_xref_number>123</transaction_xref_number>
<control_sequence_nbr>12345</control_sequence_nbr>
<payment_id>123456</payment_id>
<payment_type></payment_type>
<last4digistofcc />
<email_address>Me@Here.Com</email_address>
<fax_number>407-877-6721</fax_number>
<remarks>Geez, this is a LOT of info!!</remarks>
<order_Id>13543</order_Id>
</guest_information>
<guest_information>
<guest_id>123478</guest_id>
<payment_status>P</payment_status>
<payer_name>Travel</payer_name>
<gift_flag>N</gift_flag>
<booking_amount>25</booking_amount>
<onboard_currency_exchange_rate>1</ onboard_currency_exchange_rate>
<onboard_currency_code>USD</onboard_currency_code>
<amount_paid>25</amount_paid>
<transaction_xref_number>124</transaction_xref_number>
<control_sequence_nbr>12445</control_sequence_nbr>
<payment_id>123457</payment_id>
<payment_type>Ch</payment_type>
<last4digistofcc />
<check_or_moneyorder_nbr>999</check_or_moneyorder_nbr>
<email_address>Me@Here.Com</email_address>
<fax_number>407-877-6721</fax_number>
<remarks>Geez, this is a LOT of info!!</remarks>
</guest_information>
</guest_information_list>
</swpaymentstatus>]]></XML></psXML></swpaymentstatus>
</soap:Body></soap:Envelope>

Swrlse

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swrlse xmlns="http://tempuri.org/SWReservation"><psXML><XML>
<![CDATA[<swrlse>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<reservation_id>3011247</reservation_id>
</swrlse>]]></XML></psXML></swrlse></soap:Body></soap:Envelope>

Swrlsemultipledays

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body>
<swrlsemultipledays xmlns="http://tempuri.org/SWReservation"><psXML><XML>
<![CDATA[<swrlsemultipledays>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<reservation_details_list>
<reservation_details>
<reservation_id>3011247</reservation_id>
</reservation_details>
</reservation_details_list>
</swrlsemultipledays>]]></XML></psXML></swrlsemultipledays>
</soap:Body></soap:Envelope>

Swsync

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swsync xmlns="http://tempuri.org/SWReservation">
<psXML><XML><![CDATA[<swsync>
<request_id>111</request_id>
<mode>F</mode>
<ship_code>OC</ship_code>
<location_code>STEA</location_code>
<sail_date>20210921</sail_date>
</swsync>]]></XML></psXML></swsync></soap:Body></soap:Envelope>

Swwaitlist

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><BearerToken xmlns="http://tempuri.org/SWReservation">
<Value>AccessToken</Value>
</BearerToken></soap:Header><soap:Body><swwaitlist xmlns="http://tempuri.org/SWReservation"> <psXML><XML><![CDATA[<swwaitlist>
<request_id>111</request_id>
<ship_code>OC</ship_code>
<location_code>STEA</location_code>
<product_code>DINNER</product_code>
<date>20210922</date>
<number_of_guests>2</number_of_guests>
<vip_status>N</vip_status>
<comments>Window Seat</comments>
<guest_information_list>
<guest_information>
<last_name>test</last_name>
<first_name>test</first_name>
<cabin>1234</cabin>
<guest_id>112233</guest_id>
<group_id>0</group_id>
</guest_information>
<guest_information>
<last_name>test</last_name>
<first_name>test2</first_name>
<cabin>1234</cabin>
<guest_id>123478</guest_id>
<group_id>0</group_id>
</guest_information>
</guest_information_list>
</swwaitlist>]]></XML></psXML></swwaitlist></soap:Body></soap:Envelope>