Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
schedule_rotation_active_day created
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": "12b0ec28-76d4-4d99-9f2b-2f8dfb054187",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "3f441e19-d04f-4288-9a87-9a80d95b5ae0",
"day_name": "M",
"created_at": "2025-10-07T17:16:27.408-07:00",
"updated_at": "2025-10-07T17:16:27.408-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.
Show child attributes
schedule_rotation_active_day created
Show child attributes
Was this page helpful?
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": "12b0ec28-76d4-4d99-9f2b-2f8dfb054187",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "3f441e19-d04f-4288-9a87-9a80d95b5ae0",
"day_name": "M",
"created_at": "2025-10-07T17:16:27.408-07:00",
"updated_at": "2025-10-07T17:16:27.408-07:00",
"active_time_attributes": [
{
"start_time": "07:30",
"end_time": "16:30"
},
{
"start_time": "17:00",
"end_time": "20:00"
}
]
}
}
}