Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Owner needs to develop the program that will send date changes from a reservation to Icnea.

This is used if the Owner adds or deletes days in the reservation.

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

Code Block
languagexml
<booking_dates_change>
  <link>
    <user>integer(4)</user>
    <password>character(20)</password>
  </link>
  <booking>
    <booking_id>integer(6)</booking_id>
    <action>update/cancel</action>
    <dates>
      <date>
        <day>iso8601 (yyyy-mm-dd)</day>
        <price>decimal</price>
      </date>
    </dates>
  </booking>
</booking_dates_change>

Response with a success:

Code Block
languagexml
<booking_dates_change_response>
  <ok></ok>
</booking_dates_change_response>

Response with an error:

Code Block
languagexml
<booking_dates_change_response>
  <ko>character(500)</ko>
</booking_dates_change_response>