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: postPath:
/primeapi/restapi/calendar/replicateObjectInWorkspaces/calendar/{calendarId}/workspace/{workspaceId}
- Batch Create Calendars
- Method: postPath:
/primeapi/restapi/calendar/batch
- Batch Delete Calendars
- Method: deletePath:
/primeapi/restapi/calendar/batch
- Batch Update Calendars
- Method: putPath:
/primeapi/restapi/calendar/batch
- Create a Calendar
- Method: postPath:
/primeapi/restapi/calendar
- Delete a Calendar
- Method: deletePath:
/primeapi/restapi/calendar/{id}
- Update a Calendar
- Method: putPath:
/primeapi/restapi/calendar
- View a Calendar
- Method: getPath:
/primeapi/restapi/calendar/{id}
- View a calendar by code
- Method: getPath:
/primeapi/restapi/calendar/byItemCode?workspaceCode={workspaceCode}&calendarCode={calendarCode}
- View a Calendar by Code
- Method: getPath:
/primeapi/restapi/calendar/code/{code}
- View a Calendar by Code
- Method: getPath:
/primeapi/restapi/calendar/workspace/{workspaceId}/code/{code}
- View all calendars by parent
- Method: getPath:
/primeapi/restapi/calendar/byParent?workspaceCode={workspaceCode}
- View Calendar Exceptions
- Method: getPath:
/primeapi/restapi/calendar/exception/{id}
- View Calendars by Workspace
- Method: getPath:
/primeapi/restapi/calendar/workspace/{id}
- View Default Workspace Calendar
- Method: getPath:
/primeapi/restapi/calendar/defaultCalendar/workspace/{id}