Get the list of all the properties.
Endpoint: https://ws.icnea.net/pricing_get_properties.aspx?usr=$8$8$8$8$a1b2c3d4e5&own=81234
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 | ||
---|---|---|
| ||
{ "pricing_get_properties_response": { "lodgings": [ { "lodging_id": "8100112341001" }, { "lodging_id": "8100212341002" }, { "lodging_id": "8100312341003" }, { "lodging_id": "8100912341009" } ] } } |
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.