List locations with their guest presence.
GET
/api/accommodation_units/presenceReturns the locations matching the filters, each with whether a guest is present at the given date. The presence follows the actual checkin and checkout: on the arrival day a location stays available until the guest has checked in, on the departure day it stays occupied until the guest has checked out. The arrival and departure indicators follow the dates of the reservation instead, regardless of whether the guest has checked in or out or not.
Query parameters
Section titled “Query parameters”idnumberoptionaldatestringoptionalaccommodationnumberoptionalaccommodationCategorynumberoptionalactivebooleanoptionaloffsetnumberoptionalDefault:0limitnumberoptionalDefault:25
Returns
Section titled “Returns”Array of object
Schema shown for 200 · application/json
idnumberoptionalnumberstringoptionalactivebooleanoptionaloccupiedbooleanoptionalA guest is present at the location
arrivalbooleanoptionalThe location has a reservation starting at the given date
departurebooleanoptionalThe location has a reservation ending at the given date