Updates holidays for the specified holiday IDs.
put
/primeapi/restapi/v16.2/holiday/batch
Request
Supported Media Types
- application/json
Body Parameter
Holidays to be updated.
Root Schema : /paths/~1v16.2~1holiday~1batch/put/parameters/0/schema
Type:
array-
Type:
objectApiEntityHoliday
Nested Schema : ApiEntityHoliday
Type:
object- dayOfMonth
-
Type:
integer(int32)Required:trueThe day of the month the holiday is on. - dayOfWeek
-
Type:
integer(int32)Required:trueThe day of the week the holiday is on. - holidayDate
-
Type:
string(date-time)Required:trueThe date of the holiday. - holidayGroupId
-
Type:
integer(int64)Required:trueThe unique identifier for the holiday list. - holidayId
-
Type:
integer(int64)Required:trueThe unique identifier for the holiday. - holidayName
-
Type:
stringRequired:trueThe name of the holiday. - month
-
Type:
integer(int32)Required:trueThe month the holiday is in. - week
-
Type:
integer(int32)Required:trueThe week of the month the holiday is in. - workTime
-
Type:
objectDayWorkTimeRequired:true
Nested Schema : DayWorkTime
Type:
object- firstNonWorkTime
-
Type:
integer(int32) - firstWorkTime
-
Type:
integer(int32) - granularity
-
Type:
integer(int32) - m_bits
-
Type:
string - workingMinutes
-
Type:
integer(int32) - workTimes
-
Type:
arrayworkTimes
Nested Schema : workTimes
Type:
array-
Type:
objectDayWorkRange
Nested Schema : DayWorkRange
Type:
object- duration
-
Type:
integer(int32) - minuteEnd
-
Type:
integer(int32) - minuteStart
-
Type:
integer(int32)
Response
Supported Media Types
- application/json
Default Response
successful operation