Full update: rooms and items omitted from the body are removed from the request. First retrieve the current request from /api/facilities/requests/{id}, apply your changes, then send back the full object. Changing the request's times resets every line to pending. Send either start and end or the church-zone twins startDate, startTime, endDate and endTime; start and end must be omitted for the twins to be used, since an instant that is present wins and the twins are ignored. With the Full Write Facilities permission you can edit any request (while multi-campus is on, only at a location you can write to, or on an event you administer; otherwise 403); without it, only an administrator or organizer of the associated event can (otherwise 403). While multi-campus is on, or an organization limit binds with multi-campus off, an administrator of the event may place the request at what the event admits: its campuses and the venues of its organizations, or for an event with no campuses and no organization every location (while multi-org is on, a limited caller gets only the locations of the organizations they reach). Beyond that, a holder of Full Write Facilities needs the permission at the location; anyone else may use a venue while multi-org is off, and another location must be inside their limit or, with campus permission overrides and no limit, where they hold events write. Otherwise 400. The request's current location always passes.
Required permission: Full Write Facilities
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200OK
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
