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 Current »

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:

{
  "get_icals": {
    "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"
      }
    ]
  }
}

The lodging_id will be 8 characters, which are the Property Manager ID (4 digits) + the property ID (4 digits).

Except for testing environment, where the Property Manager ID will be 1 digit.

  • No labels