Endpoint → Get the listing information that you need to manage the cleaning.
Endpoint: https://ws.icnea.net/cleaning_get_property.aspxaspx?user=$c$l$e$a$n$i$n$g$$8$8$8$8$&lodging_id=81007
Con esta función se obtienen la información de una propiedad concreta.
‘lodging_id’ es el código de propiedad, que se sabe con la función anterior cleaning_get_properfies
‘user’ es el código de Doinn dentro de Icnea para este cliente
La información que devuelve la función es:
ID de la propiedad
nombre
dirección
ciudad
número de dormitorios
número de baños
número de lavabos (cuando sólo es WC y nada más)
número de camas por tipología (matrimonio, individual, sofa-cama, litera)
superfície en m2 del apartamento y de la terraza
...
Parameter | Type | Description |
---|---|---|
user | string | API_Key for your company, provided by Icnea |
lodging_id | integer |
You will get a JSON with this information:
property ID
property name
property address
property city
number of bedrooms
number of bathrooms
number of toilets (bathrooms that only have the toilet, not a bath or a shower)
number of beds for each type: double bed, single bed, sofa-bed and bunk bed
property surface
terrace surface
Code Block | ||
---|---|---|
| ||
{ "cleaning_get_property": { "lodging_id": "81007", "lodging_name": "Ap.Salteras", "lodging_address": "Treball 38 3 5", "lodging_city": "Roma", "lodging_number_of_bedrooms": "3", "lodging_number_of_bathrooms": "2", "lodging_number_of_toilets": "0", "lodging_number_of_double_beds": "2", "lodging_number_of_single_beds": "2", "lodging_number_of_sofa_beds": "0", "lodging_number_of_bunk_beds": "0", "lodging_surface": "80", "lodging_terrace_surface": "0", "lodging_latitude": "", "lodging_longitude": "" } } |