Versions Compared

Key

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

...

Endpoint: https://ws.icnea.net/statistics_get_properties.aspxanalytics/listings/?usr=a1b2c3d4e5&client_id=1234

Parameter

Type

Description

usr

string

API_key for your company, provided by Icnea.

client_id

integer

Property Manager ID

exclude_active

boolean

Set to true to return only unlisted listings. Default is false.

The response will be a JSON with the list of properties' IDs:

Code Block
languagejson
{   "statistics_get_properties_response": {
    "lodgingslistings": [
      {
        "lodginglisting_id": 12341001,
        "active": true
      }, {
        "lodginglisting_id": 12341002,
      }  "active": false
 ]     }
    ] 
}

Parameter

Type

Description

lodginglisting_id

integer

Unique ID of the property. 5-digits (in testing accounts) or 8-digits (in real accounts).

active

boolean

True or false. If false, the listing is unlisted and can’t be used.