Create Holiday Lists.
post
/primeapi/restapi/v16.2/holidayList/batch
Request
Supported Media Types
- application/json
Body Parameter
Holiday Lists to be created.
Root Schema : /paths/~1v16.2~1holidayList~1batch/post/parameters/0/schema
Type:
array
-
Type:
object
ApiEntityHolidayGroup
Nested Schema : ApiEntityHolidayGroup
Type:
object
- holidayGroupId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list. - holidayGroupName
-
Type:
string
Required:true
The name of the holiday list. - holidays
-
Type:
array
holidaysRequired:true
Unique Items Required:true
- workspaceId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list.
Nested Schema : holidays
Nested Schema : ApiEntityHoliday
Type:
object
- dayOfMonth
-
Type:
integer
(int32
)Required:true
The day of the month the holiday is on. - dayOfWeek
-
Type:
integer
(int32
)Required:true
The day of the week the holiday is on. - holidayDate
-
Type:
string
(date-time
)Required:true
The date of the holiday. - holidayGroupId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list. - holidayId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday. - holidayName
-
Type:
string
Required:true
The name of the holiday. - month
-
Type:
integer
(int32
)Required:true
The month the holiday is in. - week
-
Type:
integer
(int32
)Required:true
The week of the month the holiday is in. - workTime
-
Type:
object
DayWorkTimeRequired: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:
array
workTimes
Nested Schema : workTimes
Type:
array
-
Type:
object
DayWorkRange
Nested Schema : DayWorkRange
Type:
object
- duration
-
Type:
integer
(int32
) - minuteEnd
-
Type:
integer
(int32
) - minuteStart
-
Type:
integer
(int32
)
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityHolidayGroup
Type:
object
- holidayGroupId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list. - holidayGroupName
-
Type:
string
Required:true
The name of the holiday list. - holidays
-
Type:
array
holidaysRequired:true
Unique Items Required:true
- workspaceId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list.
Nested Schema : holidays
Nested Schema : ApiEntityHoliday
Type:
object
- dayOfMonth
-
Type:
integer
(int32
)Required:true
The day of the month the holiday is on. - dayOfWeek
-
Type:
integer
(int32
)Required:true
The day of the week the holiday is on. - holidayDate
-
Type:
string
(date-time
)Required:true
The date of the holiday. - holidayGroupId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday list. - holidayId
-
Type:
integer
(int64
)Required:true
The unique identifier for the holiday. - holidayName
-
Type:
string
Required:true
The name of the holiday. - month
-
Type:
integer
(int32
)Required:true
The month the holiday is in. - week
-
Type:
integer
(int32
)Required:true
The week of the month the holiday is in. - workTime
-
Type:
object
DayWorkTimeRequired: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:
array
workTimes
Nested Schema : workTimes
Type:
array
-
Type:
object
DayWorkRange
Nested Schema : DayWorkRange
Type:
object
- duration
-
Type:
integer
(int32
) - minuteEnd
-
Type:
integer
(int32
) - minuteStart
-
Type:
integer
(int32
)