Microsoft Project Calendars API

Manage enterprise calendars

Documentation

Specifications

Code Examples

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-project-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-task-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-enterprise-resource-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-assignment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-calendar-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-custom-field-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-schema/rest-api-time-sheet-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-project-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-task-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-enterprise-resource-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-assignment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-calendar-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-custom-field-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/microsoft-project/refs/heads/main/json-structure/rest-api-time-sheet-structure.json

Other Resources

OpenAPI Specification

microsoft-project-calendars-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Microsoft Project Online REST Assignments Calendars API
  description: REST API for accessing and managing Microsoft Project Online and Project Server data including projects, tasks, resources, assignments, calendars, custom fields, timesheets, lookup tables, and workflow activities. Uses SharePoint-based REST endpoints via the ProjectServer service.
  version: '1.0'
  contact:
    name: Microsoft Project Support
    url: https://support.microsoft.com/
  license:
    name: Microsoft API License
    url: https://www.microsoft.com/en-us/legal/terms-of-use
  x-generated-from: documentation
  x-last-validated: '2026-04-18'
servers:
- url: https://{tenant}.sharepoint.com/sites/pwa/_api/ProjectServer
  description: Project Online REST API
  variables:
    tenant:
      default: contoso
      description: SharePoint tenant name
security:
- oauth2: []
tags:
- name: Calendars
  description: Manage enterprise calendars
paths:
  /Calendars:
    get:
      operationId: listCalendars
      summary: Microsoft Project List Calendars
      description: Retrieve all enterprise calendars.
      tags:
      - Calendars
      responses:
        '200':
          description: List of calendars
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarCollection'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createCalendar
      summary: Microsoft Project Create Calendar
      description: Create a new enterprise calendar.
      tags:
      - Calendars
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalendarCreate'
      responses:
        '201':
          description: Calendar created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Calendar'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /Calendars('{calendarId}'):
    get:
      operationId: getCalendar
      summary: Microsoft Project Get Calendar
      description: Retrieve a specific calendar by ID.
      tags:
      - Calendars
      parameters:
      - $ref: '#/components/parameters/calendarId'
      responses:
        '200':
          description: Calendar details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Calendar'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: deleteCalendar
      summary: Microsoft Project Delete Calendar
      description: Delete a calendar by ID.
      tags:
      - Calendars
      parameters:
      - $ref: '#/components/parameters/calendarId'
      responses:
        '204':
          description: Calendar deleted
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Calendar:
      type: object
      properties:
        Id:
          type: string
          format: uuid
          description: Calendar identifier
        Name:
          type: string
          description: Calendar name
          example: Standard
        IsStandardCalendar:
          type: boolean
          description: Whether this is the standard calendar
          example: true
        Created:
          type: string
          format: date-time
          description: Calendar creation date
        Modified:
          type: string
          format: date-time
          description: Calendar last modified date
    CalendarCollection:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/Calendar'
    CalendarCreate:
      type: object
      required:
      - Name
      properties:
        Name:
          type: string
          description: Calendar name
          example: Night Shift Calendar
  parameters:
    calendarId:
      name: calendarId
      in: path
      required: true
      description: The GUID identifier of the calendar
      schema:
        type: string
        format: uuid
  securitySchemes:
    oauth2:
      type: oauth2
      description: OAuth 2.0 authentication via Azure AD for SharePoint Online
      flows:
        authorizationCode:
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
          tokenUrl: https://login.microsoftonline.com/common/oauth2/token
          scopes:
            ProjectServer.Read: Read Project Server data
            ProjectServer.ReadWrite: Read and write Project Server data