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": "<string>",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "<string>",
"day_name": "S",
"active_time_attributes": [
{
"start_time": "<string>",
"end_time": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
schedule_rotation_active_days Show child attributes
Schedule rotation day name for which active times to be created
S, M, T, W, R, F, U schedule_rotation_active_day created
Show child attributes
Unique ID of the schedule rotation active time
schedule_rotation_active_days Show child attributes
Schedule rotation day name for which active times to be created
S, M, T, W, R, F, U Date of creation
Date of last update
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": "<string>",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "<string>",
"day_name": "S",
"active_time_attributes": [
{
"start_time": "<string>",
"end_time": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
}
}
}