Create a Holiday List

post

/primeapi/restapi/holidayList

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

Request

Supported Media Types
Body ()
Holiday List to be created.
Root Schema : ApiEntityHolidayGroup
Type: object
Show Source
Nested Schema : holidays
Type: array
Unique Items Required: true
Show Source
Nested 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 : ApiEntityHolidayGroup
Type: object
Show Source
Nested Schema : holidays
Type: array
Unique Items Required: true
Show Source
Nested 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 List service. Verify the request contains valid data, then resubmit the request.