Rotation Schedules
List rotation schedules
Changed onEndpoint used to list rotation schedule resources
get/rotationschedules
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Query parameters
cursorstring
Last pagination reference
limitinteger
max number of Rotation Schedules returned
Headers
x-organization-idinteger
Required if using a multi organizations token
Response
Successfully fetched Rotation Schedules list
Example response
{
"rotationSchedules": [
{
"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
- info
endpoint added
- info