Updates calendars for the specified calendar IDs.
put
/primeapi/restapi/v16.2/calendar/batch
Request
Supported Media Types
- application/json
Body Parameter
Calendars to be updated.
Root Schema : /paths/~1v16.2~1calendar~1batch/put/parameters/0/schema
Type:
array-
Type:
objectApiEntityCalendar
Nested Schema : ApiEntityCalendar
Type:
object- calendarCode
-
Type:
stringThe unique code for the calendar. - calendarExceptions
-
Type:
arraycalendarExceptionsUnique Items Required:true - calendarId
-
Type:
integer(int64)The unique identifier for the calendar. - calendarName
-
Type:
stringThe name of the calendar. - dayHourCount
-
Type:
number(double) - holiday
-
Type:
integer(int64)The holiday list assigned to the calendar. - holidayMoveType
-
Type:
stringAllowed Values:[ "NONE", "FORWARD", "BACKWARD", "CLOSEST_WORK_DAY" ]ENUM - isAssignableToProject
-
Type:
booleanDefault Value:false - isAssignableToResource
-
Type:
booleanDefault Value:false - monthHourCount
-
Type:
number(double) - weekHourCount
-
Type:
number(double) - workspaceId
-
Type:
integer(int64)The unique identifier for the workspace for which the calendar belongs. - workTimeFriday
-
Type:
string - workTimeMonday
-
Type:
string - workTimeSaturday
-
Type:
string - workTimeSunday
-
Type:
string - workTimeThursday
-
Type:
string - workTimeTuesday
-
Type:
string - workTimeWednesday
-
Type:
string - yearHourCount
-
Type:
number(double)
Nested Schema : calendarExceptions
Nested Schema : ApiEntityCalendarException
Type:
object- calendar
-
Type:
integer(int64)The unique identifier for the calendar. - calendarExceptionId
-
Type:
integer(int64)The unique identifier for the calendar exception. - exceptionDate
-
Type:
string(date-time)The date that is marked as an exception. An exception is a change to the regularly scheduled time in the calendar. - exceptionName
-
Type:
stringThe name of the exception for the calendar. - workTime
-
Type:
stringWork time that is non-standard.
Response
Supported Media Types
- application/json
Default Response
successful operation