Skip to content
Developer

BaseLocationPlan Status

Locations and bookings1 EndpointsEvent / BaseLocationPlan Status

Returns the occupancy of every placed object of a plan at a point in time.

GET/api/event/base_location_plan_status

Either plan or location has to be given. With location the response covers all plans of that location, which is what the floor tabs of the board view need.

Query parameters

planintegerId of the plan
locationintegerId of the location, covers all its plans
testTimestring (date-time)Point in time to render, defaults to now. Seconds are dropped: the status is computed and cached per minute.
horizonHoursintegerHow far ahead to look for the next booking
anonymizedbooleanDrop names and booking titles

Responses

200Occupancy per placed itemobject

Show fields (6)
  • plansarray<integer>
  • test_timestring (date-time)
  • horizon_hoursinteger
  • anonymizedboolean

    true when names, participants, trainers and events were dropped

  • soon_threshold_minutesinteger
  • itemsobject

    map of plan item id => status

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/base_location_plan_status \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "plans": [
    1
  ],
  "test_time": "2026-10-15T09:30:00+02:00",
  "horizon_hours": 1,
  "anonymized": true,
  "soon_threshold_minutes": 1
}