GET Cleanings
Get the list of all the cleanings for the next 2 weeks (from today until 15 days).
Endpoint: https://ws.icnea.net/cleaning_get_services.aspx?user=$8$8$8$&owner=8
You will get this information in the JSON:
Parameter | Type | Description |
---|---|---|
lodging_id | integer | property ID |
cleaning_id | string | unique ID for this cleaning |
booking_id | integer | reservation ID in Icnea. This field will be empty when the cleaning is not from a reservation. |
date | date | date of the cleaning. It wil never be empty. |
hour | string | hour of the cleaning. It will only be provided when the PM has added it in the system. |
type | string | type of cleaning
|
remarks | string | any information that the PM has put in the system for the cleaning staff |
Example of a JSON:
{
"cleaning_services":{
"services":[
{
"lodging_id":"81003",
"cleaning_id":"42e88b96-6071-4fdf-961c-e1fccea38f49",
"booking_id":"135454",
"date":"2020-02-29",
"hour":"",
"priority": "",
"type":"extra_cleaning",
"remarks":""
},{
"lodging_id":"81006",
"cleaning_id":"aa926ac5-5b3e-4e59-834b-d6367a8f53d4",
"booking_id":"135398",
"date":"2020-03-08",
"hour":"",
"priority": "",
"type":"check_out_cleaning",
"remarks":""
}]
}
}