operators

Create operator holiday

Changed on
post/api/operators/holidays

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/operators/holidays
  • Auth: HTTP bearer

Request body

operator_idstring uuid required
start_datestring date-time required
end_datestring date-time required
type'vacation' | 'sick_leave' | 'maternity' | 'paternity' | 'other'
notestring nullable
excluded_daysstring[]
remove_free_availabilitiesboolean

Response

Successful Response

idstring uuid required
operator_idstring uuid required
type'vacation' | 'sick_leave' | 'maternity' | 'paternity' | 'other'
start_datestring date-time required
end_datestring date-time required
created_atstring date-time required
updated_atstring date-time nullable
notestring nullable
created_by_user_idstring uuid nullable
messagestring nullable
operator_alert_actionstring nullable
operator_alert_closedboolean
invalidate_allboolean
site_restrictedboolean

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status