Batch Update Holidays
put
/primeapi/restapi/holiday/batch
Send a request to this endpoint to update one or more holidays. 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
- application/json
Holidays to be updated.
Nested Schema : ApiEntityHoliday
Type:
Show Source
object
-
dayOfMonth:
integer(int32)
The day of the month the holiday is on.
-
dayOfWeek:
integer(int32)
The day of the week the holiday is on.
-
holidayDate:
string(date-time)
The date of the holiday.
-
holidayGroupId:
integer(int64)
The unique identifier for the holiday list.
-
holidayId:
integer(int64)
The unique identifier for the holiday.
-
holidayName:
string
The name of the holiday.
-
link(optional):
string(url)
Read Only:
true
-
month:
integer(int32)
The month the holiday is in.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
week:
integer(int32)
The week of the month the holiday is in.
-
workTime:
object DayWorkTime
Response
Supported Media Types
- application/json
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi/
400 Response
Invalid input for the Holiday sevice. Verify the request contains valid data, then resubmit the request.