Properties
| Name | Type | Description |
|---|---|---|
| user | object | User who will take over the on-call duty. |
| startDate | string | Start date and time of the override. |
| endDate | string | End date and time of the override. |
| rotations | array | Specific rotations to override. If not provided, all rotations are overridden. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateOverrideRequest",
"title": "CreateOverrideRequest",
"type": "object",
"required": [
"user",
"startDate",
"endDate"
],
"properties": {
"user": {
"type": "object",
"description": "User who will take over the on-call duty.",
"properties": {
"id": {
"type": "string",
"description": "User ID."
},
"username": {
"type": "string",
"description": "Username (email)."
}
}
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "Start date and time of the override."
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "End date and time of the override."
},
"rotations": {
"type": "array",
"description": "Specific rotations to override. If not provided, all rotations are overridden.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Rotation ID."
},
"name": {
"type": "string",
"description": "Rotation name."
}
}
}
}
}
}