Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Owner needs a program that will receive the following XML sent by the Channel Manager.

Endpoint: https://ws.icnea.net/booking_notification.aspx

The Owner should have the program in a URL where the Channel Manager will send booking notifications.

The Owner should provide the URL, user and password.

Booking notifications sent by the Channel Manager must always be accepted. They cannot be refused.

<booking_notification>
  <link>
    <user>integer(4)</user>
    <password>character(20)</password>
  </link>
  <lodgings>
    <lodging>
      <lodging_id>integer(8)</lodging_id>
      <action>add/update/cancel/misplaced</action>
      <reservation>character(10)</reservation>
      <reservation_date>yyyy-mm-ddThh:mm:ss (iso8601)</reservation_date>
      <reservation_remarks>character(500)</reservation_remarks>
      <customer_email>character(50)</customer_email>
      <customer_name>character(50)</customer_name>
      <customer_address>character(50)</customer_address>
      <customer_city>character(50)</customer_city>
      <customer_country>iso3166 </customer_country>
      <customer_zip>character(50)</customer_zip>
      <customer_telephone>character(50)</customer_telephone>
      <customer_language>iso639-1 </customer_language>
      <cc_number>character(16)</cc_number>
      <cc_type>character(50)</cc_type>
      <cc_expiration>yyyy-mm </cc_expiration>
      <cc_cvc>character(3)</cc_cvc>
      <cc_name>character(50)</cc_name>
      <currency>iso4217 </currency>
      <agency_name>character(50)</agency_name>
      <agency_reservation>character(50)</agency_reservation>
      <agency_remarks>character(50)</agency_remarks>
      <security_deposit>decimal</security_deposit>
      <commission_amount>decimal</commission_amount>
      <prepayment>decimal</prepayment>
      <arrival_time>hh:mm </arrival_time>
      <flight_number>character(50)</flight_number>
      <rooms>
        <room>
          <room_id>character(10)</room_id>
          <guest_name>character(50)</guest_name>
          <rate_id>character(10)</rate_id>
          <non_refundable>false/true</non_refundable>
          <people>integer(2)</people>
          <children>integer(2)</children>
          <babies>integer(2)</babies>
          <dates>
            <date>
              <day>iso8601 (yyyy-mm-dd)</day>
              <price>decimal</price>
              <adds_on_room>
                <add_on_room>
                  <add_on_room_id>integer(2)</add_on_room_id>
                  <price>decimal</price>
                </add_on_room>
              </adds_on_room>
            </date>
          </dates>
        </room>
      </rooms>
      <adds_on_stay>
        <add_on_stay>
          <add_on_stay_id>integer(2)</add_on_stay_id>
          <price>decimal</price>
        </add_on_stay>
      </adds_on_stay>
    </lodging>
  </lodgings>
</booking_notification>

Response:

<booking_notification_response>
 <ok>integer(6)</ok>
</booking_notification_response>

  • No labels