Create a Holiday

post

/primeapi/restapi/holiday

Send a request to this endpoint to create a holiday. An application object will be created using the JSON data provided in the request body.

Request

Supported Media Types
Body ()
Holiday to be created.
Root Schema : ApiEntityHoliday
Type: object
Show Source
Nested Schema : DayWorkTime
Type: object
Show Source
Nested Schema : workTimes
Type: array
Show Source
Nested Schema : DayWorkRange
Type: object
Show Source

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityHoliday
Type: object
Show Source
Nested Schema : DayWorkTime
Type: object
Show Source
Nested Schema : workTimes
Type: array
Show Source
Nested Schema : DayWorkRange
Type: object
Show Source

400 Response

Invalid input for the Holiday sevice. Verify the request contains valid data, then resubmit the request.