Message Structure

The Corporate Data Transfer Interface (CDTI) has many messages, which it can handle. These messages are definable through the Corporate Data Transfer Interface (CDTI) to provide the users flexibility dynamically. The following is an example of message structure.
Request:
<?xml version=1.0 standalone=yes?>
  <request>
    <shipid>SHIP_ID</shipid>
    <sailingdate>SAIL_DATE</sailingdate>
    <guestid>GUEST_ID</guestid>
  </request>
Response:
<?xml version=1.0 standalone=yes?>
<response>
    <shipid>SHIP_ID</shipid>
    <sailingdate>SAILING_DATE</sailingdate>
    <guestid>GUEST_ID</guestid>
    <type>Passenger Reservations</type>
    <cancel>N</cancel>
    <booking>
      <personalinfo>
        <firstname>Name</firstname>
        <lastname>LastName</lastname>
        <dateofbirth>BIRTHDAY_DATE></dateofbirth>
        <gender>MALE_FEMALE</gender>
      </personalinfo>
      <passportinfo>
        <nationality>Country</nationality>
        <passportno>PASSPORT_NO</passportno>
        <passportissuedate>PASSPORT_ISSUE_DATE</passportissuedate>
        <passportissueplace>PlaceofIssue</passportissueplace>
        <passportexpirydate>PASSPORT_EXP_DATE</passportexpirydate>
      </passportinfo>
      <cabininfo>
        <cabintype>Outer Balcony</cabintype>
      </cabininfo>