Calendar REST Endpoints

Calendar
Use the Calendar service to create, view, update, and delete calendars. Calendars define the workdays, work hours, holidays, and exceptions available to projects, resources, and roles.
Assign or Promote a Calendar
Method: post
Path: /primeapi/restapi/calendar/replicateObjectInWorkspaces/calendar/{calendarId}/workspace/{workspaceId}
Batch Create Calendars
Method: post
Path: /primeapi/restapi/calendar/batch
Batch Delete Calendars
Method: delete
Path: /primeapi/restapi/calendar/batch
Batch Update Calendars
Method: put
Path: /primeapi/restapi/calendar/batch
Create a Calendar
Method: post
Path: /primeapi/restapi/calendar
Delete a Calendar
Method: delete
Path: /primeapi/restapi/calendar/{id}
Update a Calendar
Method: put
Path: /primeapi/restapi/calendar
View a Calendar
Method: get
Path: /primeapi/restapi/calendar/{id}
View a calendar by code
Method: get
Path: /primeapi/restapi/calendar/byItemCode?workspaceCode={workspaceCode}&calendarCode={calendarCode}
View a Calendar by Code
Method: get
Path: /primeapi/restapi/calendar/code/{code}
View a Calendar by Code
Method: get
Path: /primeapi/restapi/calendar/workspace/{workspaceId}/code/{code}
View all calendars by parent
Method: get
Path: /primeapi/restapi/calendar/byParent?workspaceCode={workspaceCode}
View Calendar Exceptions
Method: get
Path: /primeapi/restapi/calendar/exception/{id}
View Calendars by Workspace
Method: get
Path: /primeapi/restapi/calendar/workspace/{id}
View Default Workspace Calendar
Method: get
Path: /primeapi/restapi/calendar/defaultCalendar/workspace/{id}