Batch Create Holiday Lists

post

/api/restapi/holidayList/batch

Send a request to this endpoint to create one or more holiday lists. An application object will be created for each JSON object provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityHolidayGroupInput>
Type: array
Title: List<ApiEntityHolidayGroupInput>
Show Source
  • ApiEntityHolidayGroupInput
    Title: ApiEntityHolidayGroupInput
    This entity represents a HolidayGroup object, a unique HolidayGroup object can be identified by the following combinations of the fields.
    • holidayListId
    • holidayGroupName,workspaceId
    • holidayGroupName,workspaceCode
Nested Schema : ApiEntityHolidayGroupInput
Type: object
Title: ApiEntityHolidayGroupInput
This entity represents a HolidayGroup object, a unique HolidayGroup object can be identified by the following combinations of the fields.
  • holidayListId
  • holidayGroupName,workspaceId
  • holidayGroupName,workspaceCode
Show Source
Nested Schema : holidays
Type: array
The list of holidays associated with the holiday group.
Show Source
Nested Schema : ApiEntityHolidayInput
Type: object
Title: ApiEntityHolidayInput
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : List<ApiEntityHolidayGroup>
Type: array
Title: List<ApiEntityHolidayGroup>
Show Source
Nested Schema : ApiEntityHolidayGroup
Type: object
Title: ApiEntityHolidayGroup
Show Source
Nested Schema : holidays
Type: array
The list of holidays associated with the holiday group.
Show Source
Nested Schema : ApiEntityHoliday
Type: object
Title: ApiEntityHoliday
Show Source

400 Response

Invalid input for the Holiday List service. Verify the request contains valid data, then resubmit the request.
Back to Top