Rotation Schedules
Create rotation schedule
Changed onCreates a custom work rotation. Assigning users removes them from any rotation they are currently assigned to. A rotation can only be created as the default in an organization with no saved default.
post/rotationschedules
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Headers
x-organization-idinteger
Required if using a multi organizations token
Request body
Example request
{
"name": "Team A - 4 on / 3 off",
"startDate": "2022-01-01T00:00:00.000Z",
"days": [
{
"dayType": "WORKING",
"seconds": 28800
}
],
"userIds": [
123,
456
]
}Response
Successfully created rotation schedule
Example response
{
"id": 963
}Changes
- info
endpoint added
- info