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

Version 1 Current »

Get the information of a specific reservation.

Endpoint: https://ws.icnea.net/pricing_get_reservation.aspx?usr=a1b2c3d4e5&id=12341001&booking_id=1234100092

Parameter

Type/format

Required?

Description

usr

string

mandatory

API_key for your company, provided by Icnea

id

integer

mandatory

lodging_id

booking_id

integer

mandatory

booking_id

You will get a response with this information:

{
  "get_reservation": {    
      "lodging_id": "12341001",
      "booking_id": "1234121984",
      "status": "confirmed",
      "country": "Spain",
      "channel": "Airbnb",
      "channel_booking_id": "HMXE34234",
      "booking_date": "2017-05-23",
      "cancel_date": "",
      "arrival_date": "2017-10-05",
      "departure_date": "2017-10-08",
      "number_of_adults": "2",
      "number_of_children": "0",
      "number_of_infants": "0",      
      "amount": "300.00",      
      "booking_fee": "0",
      "cleaning_fee": "0",
      "checkin_fee": "0",
      "shortstay_fee": "0",
      "tourist_tax": "0",
      "creditcard_fee": "0",
      "earlybooking_discount": "0",
      "longstay_discount": "0",
      "lastminute_discount": "0",
      "stardard_discount": "0",
      "promotional_discount": "0",
      "channel_commission": "0",
      "extra_amounts": "0",
      "rate_name": "",
      "currency": "EUR",
      "dates": [
        {
          "date": "",
          "import": ""
        }, {
          "date": "",
          "ipmort": ""
        }
      ]
  }
}

  • 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.