/
GET Icals
GET Icals
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:
{
"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"
}
]
}
}
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.