Versions Compared

Key

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

Get the list of all the properties with the link for the calendar of each one in .ics format

Endpoint: https://ws.icnea.net/pricing_get_icals.aspx?usr=a1b2c3d4e5&own=1234

Parameter

Type

Description

usr

string

API_key for your company, provided by Icnea.

own

integer

Property Manager ID

The response will be a JSON with the lodging_id list:

Code Block
languagejson
{
  "pricing_get_icals_response": {
    "lodgings": [
      {
        "lodging_id": "12341001",
        "calendar": "https://ws.icnea.net/calendar_1234.1001.ics"
      }, {
        "lodging_id": "12341002",
        "calendar": "https://ws.icnea.net/calendar_1234.1002.ics"
      }, {
        "lodging_id": "12341003",
        "calendar": "https://ws.icnea.net/calendar_1234.1003.ics"
      }, {
        "lodging_id": "12341009",
        "calendar": "https://ws.icnea.net/calendar_1234.1009.ics"
      }
    ]
  }
}

...