View a Calendar by Code

get

/primeapi/restapi/calendar/workspace/{workspaceId}/code/{code}

This endpoint returns calendars that meet the following requirements:
  • The object has a code that matches the value of the {code} path parameter.
Calendars define the workdays, work hours, holidays, and exceptions available to projects, resources, and roles.

Request

Path Parameters

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ApiEntityCalendar
Type: object
Show Source
Nested Schema : calendarExceptions
Type: array
Unique Items Required: true
Show Source
Nested Schema : ApiEntityCalendarException
Type: object
Show Source

404 Response

The requested calendar does not exist, or you do not have access to it.