Batch Update Holiday Lists

put

/primeapi/restapi/holidayList/batch

Send a request to this endpoint to update one or more holiday lists. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

Request

Supported Media Types
Body ()
Holiday Lists to be updated.
Root Schema : List<ApiEntityHolidayGroup>
Type: array
Title: List<ApiEntityHolidayGroup>
Show Source
Nested 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

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi//1","2":"https://:/primeapi/restapi//2"}}

400 Response

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