recurring-slot-requests

POST /api/recurring-slot-requests/creation/{id}/decision

Changed on

Approve or deny a pending request, once, with a comment for the organization. Approval applies the request in the same transaction: the grant, slot, transfer or exemption is created then, or the decision fails and the request stays pending.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Path parameters

idinteger required

Request body

status'approved' | 'denied' required
  • approved - Approved
  • denied - Denied
adminCommentstring required

Shown to the organization. Required, also for approvals.

Response

idinteger required
organizationinteger required
organizationNamestring required
requestedByinteger required
requestedByNamestring required
messagestring

What the organization wants Frikanalen to know.

day0 | 1 | 2 | 3 | 4 | 5 | 6 required
  • 0 - Monday
  • 1 - Tuesday
  • 2 - Wednesday
  • 3 - Thursday
  • 4 - Friday
  • 5 - Saturday
  • 6 - Sunday
startTimestring time required
durationstring required
status'pending' | 'approved' | 'denied' required
  • pending - Pending
  • approved - Approved
  • denied - Denied
reviewedByinteger nullable required
adminCommentstring required
createdAtstring date-time required
reviewedAtstring date-time nullable required
slotinteger nullable required

Changes