Creates a new schedule rotation active day from provided data
curl --request POST \
--url https://api.rootly.com/v1/schedule_rotations/{schedule_rotation_id}/schedule_rotation_active_days \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "schedule_rotation_active_days",
"attributes": {
"day_name": "S",
"active_time_attributes": [
{
"start_time": "<string>",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "b1b8cbf3-8a90-4785-bcb7-454f987edf29",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "f0ccb70f-3e5e-4f8d-98f3-233b0d81445b",
"day_name": "M",
"created_at": "2025-09-10T23:04:13.603-07:00",
"updated_at": "2025-09-10T23:04:13.603-07:00",
"active_time_attributes": [
{
"start_time": "07:30",
"end_time": "16:30"
},
{
"start_time": "17:00",
"end_time": "20:00"
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule_rotation_active_day created
The response is of type object
.
curl --request POST \
--url https://api.rootly.com/v1/schedule_rotations/{schedule_rotation_id}/schedule_rotation_active_days \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "schedule_rotation_active_days",
"attributes": {
"day_name": "S",
"active_time_attributes": [
{
"start_time": "<string>",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "b1b8cbf3-8a90-4785-bcb7-454f987edf29",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "f0ccb70f-3e5e-4f8d-98f3-233b0d81445b",
"day_name": "M",
"created_at": "2025-09-10T23:04:13.603-07:00",
"updated_at": "2025-09-10T23:04:13.603-07:00",
"active_time_attributes": [
{
"start_time": "07:30",
"end_time": "16:30"
},
{
"start_time": "17:00",
"end_time": "20:00"
}
]
}
}
}