View Calendar Exceptions
get
/api/restapi/calendar/exception/{calendarId}
This endpoint returns calendar exceptions that meet the following requirements:
- The object is associated with a calendar with an ID value that matches the value of the {calendarId} path parameter.
Request
Path Parameters
-
calendarId(required): integer(int64)
The system-generated identifier of a calendar exception.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityCalendarException>
Type:
array
Title:
Show Source
List<ApiEntityCalendarException>
-
Array of:
object ApiEntityCalendarException
Title:
ApiEntityCalendarException
Nested Schema : ApiEntityCalendarException
Type:
object
Title:
Show Source
ApiEntityCalendarException
-
calendarCode: string
Minimum Length:
0
Maximum Length:255
The unique code for the calendar. -
calendarExceptionId: integer
(int64)
The unique identifier for the calendar exception.
-
calendarId: integer
(int64)
The unique identifier for the calendar.
-
exceptionDate: 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: string
Maximum Length:
60
The name of the exception for the calendar. -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace. -
workTime: string
Maximum Length:
4000
Work time that is non-standard. The value is a 48 character string, which can either be 0 to indicate non-work time or 1 to indicate work time. Each character in this 48 character string corresponds to a 30 minute slot available in a day. Two slots per hour multiplied by 24 hours equals 48 characters. For example, the 1's in the following string indicate that work time for the day is 9 AM to 5 PM. 000000000000000000111111111111111100000000000000
204 Response
Successful operation with no content.
404 Response
The requested calendar exception does not exist, or you do not have access to it.