This following section describes the sample XML request for each available functions.
SWSync
<swsync> <request_id>111</request_id> <mode>F</mode> <ship_code>SHIPCODE</ship_code> <location_code>TEST</location_code> <sail_date>20210921</sail_date> </swsync>
SWBeat
<swbeat> <request_id>111</request_id> <ship_code>shipcode</ship_code> <check_database>test</check_database> </swbeat>
SWAvail
<swavail> <request_id>111</request_id> <ship_code>SHIPCODE</ship_code> <location_code>TEST</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>Comment</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>123456</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>123456</guest_id> <group_id>0</group_id> </guest_information> </guest_information_list> </swavail>
SWAvailMultipleDays
<swavailmultipledays> <request_id>111</request_id> <daydetail_list> <daydetail> <ship_code>shipcode</ship_code> <location_code>test</location_code> <product_code>DINNER</product_code> <availability_type>B</availability_type> <date>20210922</date> <time>1800</time> <number_of_guests>2</number_of_guests> <vip_status>N</vip_status> <comments>Comment</comments> <reservation_id>0</reservation_id> <reservation_id>0</reservation_id> <guest_information_list> <guest_information> <ship_code>shicode1</ship_code> <location_code>TEST</location_code> <product_code>DINNER</product_code> <date>20210922</date> <time>1800</time> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> </guest_information> <guest_information> <ship_code>Shipcode</ship_code> <location_code>test</location_code> <product_code>DINNER</product_code> <date>20210922</date> <time>1800</time> <last_name>test</last_name> <first_name>test2</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> </guest_information> </guest_information_list> </daydetail> <daydetail> <ship_code>shipcode</ship_code> <location_code>test</location_code> <product_code>DINNER</product_code> <availability_type>B</availability_type> <date>20210923</date> <time>1800</time> <number_of_guests>2</number_of_guests> <vip_status>N</vip_status> <comments>Comment</comments> <reservation_id>0</reservation_id> <guest_information_list> <guest_information> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> <guest_id>123456</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> </daydetail> </daydetail_list> </swavailmultipledays>
SWBook
<swbook> <request_id>111</request_id> <reservation_id>0</reservation_id> <ship_code>SHIPCODE</ship_code> <share_table>Y</share_table> <guest_information_list> <guest_information> <last_name>test1</last_name> <first_name>test1</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> <owner_id>123456</owner_id> <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>Cash</payment_type> <booking_amount>25</booking_amount> <last4digistofcc /> <check_or_moneyorder_nbr /> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> <order_Id>12345</order_Id> <payment_status>P</payment_status> </guest_information> <guest_information> <last_name>test2</last_name> <first_name>test2</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> <owner_id>123456</owner_id> <amount_paid>00</amount_paid> <transaction_xref_number>123</transaction_xref_number> <control_sequence_nbr>12345</control_sequence_nbr> <payment_id>123456</payment_id> <payment_type>Cash</payment_type> <booking_amount>25</booking_amount> <last4digistofcc /> <check_or_moneyorder_nbr /> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> <order_Id>0000</order_Id> <payment_status>P</payment_status> </guest_information> </guest_information_list> </swbook>
SWBookMultipleDays
<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> <reservation_id>0</reservation_id> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> <owner_id>123456</owner_id> <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>Cash</payment_type> <booking_amount>25</booking_amount> <last4digistofcc /> <check_or_moneyorder_nbr /> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> <order_Id>12345</order_Id> <payment_status>P</payment_status> </guest_information> </guest_information_list> </reservation_details> <reservation_details> <reservation_id /> <share_table>Y</share_table> <guest_information_list> <guest_information> <reservation_id /> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> <guest_id>123456</guest_id> <group_id>0</group_id> <owner_id>123478</owner_id> <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>Cash</payment_type> <booking_amount>25</booking_amount> <last4digistofcc /> <check_or_moneyorder_nbr /> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> <order_Id>12345</order_Id> <payment_status>P</payment_status> </guest_information> </guest_information_list> </reservation_details> </reservation_details_list> </swbookmultipledays>
SWCalendar
<swcalendar> <request_id>111</request_id> <ship_code>SHIPCODE</ship_code> <guest_information_list> <guest_information> <list_Type>G</list_Type> <list_Id>123456</list_Id> </guest_information> <guest_information> <list_Type>R</list_Type> <list_Id>0</list_Id> </guest_information> </guest_information_list> </swcalendar>
SWCancel
<swcancel> <request_id>111</request_id> <reservation_id>123456</reservation_id> <ship_code>shipcode</ship_code> </swcancel>
SWdmtTableAllocation
<swdmgttableallocation> <request_id>111</request_id> <ship_code>shipcode</ship_code> <cruise_id>shipcodeID</cruise_id> <group_id>0</group_id> </swdmgttableallocation>
SWExtend
<swextend> <request_id>111</request_id> <reservation_id>123456</reservation_id> <ship_code>shipcode</ship_code> </swextend>
SWGuestAdd
<swguestadd> <request_id>111</request_id> <reservation_id>123456</reservation_id> <ship_code>shipcode</ship_code> <vip_status>N</vip_status> <guest_information_list> <guest_information> <guest_id>12345678</guest_id> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> </guest_information> </guest_information_list> </swguestadd>
SWGuestDelete
<swguestdelete> <request_id>111</request_id> <reservation_id>1234567</reservation_id> <ship_code>shipcode</ship_code> <guest_information_list> <guest_information> <guest_id>123456</guest_id> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> </guest_information> </guest_information_list> </swguestdelete>
SWModify
<swmodify> <request_id>111</request_id> <ship_code>shipcode</ship_code> <old_reservation_id>1234567</old_reservation_id> <new_reservation_id>123456789</new_reservation_id> <share_table>Y</share_table> </swmodify>
SWPaymentStatus
<swpaymentstatus> <request_id>111</request_id> <reservation_id>1234567</reservation_id> <ship_code>shipcode</ship_code> <guest_information_list> <guest_information> <guest_id>123456</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>Cash</payment_type> <last4digistofcc /> <check_or_moneyorder_nbr /> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> <order_Id>12345</order_Id> <owner_id>123456</owner_id> </guest_information> <guest_information> <guest_id>123456</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>12345</control_sequence_nbr> <payment_id>123456</payment_id> <payment_type>Check</payment_type> <last4digistofcc /> <check_or_moneyorder_nbr>999</check_or_moneyorder_nbr> <order_Id>12345</order_Id> <owner_id>123456</owner_id> <email_address>email@email.Com</email_address> <fax_number>000-000-0000</fax_number> <remarks>Remarks</remarks> </guest_information> </guest_information_list> </swpaymentstatus>
SWRlse
<swrlse> <request_id>111</request_id> <ship_code>ship_code</ship_code> <reservation_id>1234567</reservation_id> </swrlse>
SWRlseMultipleDays
<swrlsemultipledays> <request_id>111</request_id> <ship_code>shipcode</ship_code> <reservation_details_list> <reservation_details> <reservation_id>1234567</reservation_id> </reservation_details> </reservation_details_list> </swrlsemultipledays>
SWWaitlist
<swwaitlist> <request_id>111</request_id> <ship_code>shipcode</ship_code> <location_code>test</location_code> <product_code>DINNER</product_code> <date>20210922</date> <number_of_guests>2</number_of_guests> <vip_status>N</vip_status> <comments>Remarks</comments> <guest_information_list> <guest_information> <last_name>test</last_name> <first_name>test</first_name> <cabin>1234</cabin> <guest_id>123456</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>