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 »

This is an optional function. This function allows for existing reserves between two dates.

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

<booking_request_index>
  <link>
    <user>integer(4)</user>
    <password>character(20)</password>
  </link>
  <dates>
    <date_from> iso8601 (yyyy-mm-dd)</date_from>
    <date_to> iso8601 (yyyy-mm-dd)</date_to>
    <date_type> booking_date / arrival_date </date_type>
    <lodging_id>integer(8)</lodging _id>
  </dates>
</booking_request_index>

If the date_type is ‘booking_date’, the response will be:

<booking_request_index_response>
  <bookings>
    <booking>
      <booking_id>integer(6)</booking_id>
      <booking_date> iso8601 (yyyy-mm-dd hh:mm:ss)</booking_date>
      <arrival_date> iso8601 (yyyy-mm-dd)</arrival_date>
      <booking_status>character(10)</booking_status>
      <booking_action> cancelled/updated </booking_action>
      <booking_cancelled_date> iso8601 (yyyy-mm-dd)</ booking_cancelled_date>
      <booking_updated_date> iso8601 (yyyy-mm-dd)</ booking_updated_date>
    </booking>
  </bookings>
</booking_request_index_response>

If the date_type is ‘arrival_date’, the response will be:

<booking_request_index_response>
  <bookings>
    <booking>
      <booking_id>integer(6)</booking_id>
      <booking_date> iso8601 (yyyy-mm-dd hh:mm:ss)</booking_date>
      <arrival_date> iso8601 (yyyy-mm-dd)</arrival_date>
      <booking_status>character(10)</booking_status>      
    </booking>
  </bookings>
</booking_request_index_response>
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.