Rotation Schedules

Get rotation schedule

Changed on
get/rotationschedules/{id}

Request

  • Base URL
    https://api.getmaintainx.com/v1
  • Auth
    HTTP bearer

Path parameters

idinteger required

ID of the rotationSchedule

Response

Successfully retrieved rotationSchedule's information

Example response

{
  "rotationSchedule": {
    "id": 963,
    "organizationId": 1,
    "name": "Team A - 4 on / 3 off",
    "startDate": "2022-01-01T00:00:00.000Z",
    "days": [
      {
        "dayType": "WORKING",
        "seconds": 28800
      }
    ],
    "sourceTemplatePattern": "pitman",
    "assignedUsersCount": 3,
    "createdAt": "2022-01-01T00:00:00.000Z",
    "updatedAt": "2022-01-01T00:00:00.000Z",
    "archivedAt": "2022-01-01T00:00:00.000Z"
  }
}

Changes