Versions Compared

Key

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

Endpoint → 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=$c$l$e$a$n$i$n$g$$8$8$8$&owner=8

Con esta función se obtienen las limpiezas de las próximas 2 semanas (desde hoy hasta dentro de 15 días). 

Los campos que devuelve el JSON son: 

  • lodging_id = código de la propiedad; este campo siempre tendrá un valor

  • cleaning_id = código único de esta limpieza

  • booking_id = número de reserva en Icnea; este campo se enviará vacío cuando la limpieza no sea de una reserva

  • date = fecha de la limpieza; siempre tendrá un valor

  • hour = hora de la limpieza; sólo se enviará valor cuando el PM lo haya añadido

  • type = tipo de limpieza 

    • check_out_cleaning = limpieza del día del checkout

    • extra_cleaning = limpieza extra durante la estancia de la reserva

    • maintenance_cleaning = limpieza fuera de reserva, las que se hacen para mantener el apartamento en condiciones cuando hay períodos largos sin ocupación

  • remarks = observaciones que el Property Manager haya puesto para el personal de limpieza 

 

...

{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

  • check_out_cleaning: cleaning the day of the check-out

  • extra_cleaning: extra cleaning during the stay of the hsot

  • maintenance_cleaning: cleaning outside of a reservation, the ones that are done to have the apartments in good conditions on long periods of emtpy apartments

remarks

string

any information that the PM has put in the system for the cleaning staff

Example of a JSON:

Code Block
languagejson
{
  "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":""
    }]
  }
}