/oncall/api/v1/on_call_shifts/ api didn't fill "schedule" field. I've tried to change "schedule" to "scheduleId : 19" and didn't work too.
![Image](https://github.com/user-attachments/assets/b979159a-c223-4dd7-af83-2b0177baed99)
![Image](https://github.com/user-attachments/assets/d726f96d-27ff-4b72-9eba-a29c8da6ee13)
![Image](https://github.com/user-attachments/assets/fa98eb3f-b572-4ec7-bb7e-5ce0f2a80a27)
What did you expect to happen:
/oncall/api/v1/on_call_shifts/O7Q2PTTYKCK76 , to fill the field "schedule" according to bellow print
![Image](https://github.com/user-attachments/assets/a4a6b8e6-3fb2-45e5-bc6b-e5b3ce97b611)
How do we reproduce it?
Call /oncall/api/v1/on_call_shifts/ with pay as "example" with a valid schedule according to bellow payload
What went wrong?
What happened:
What did you expect to happen:
How do we reproduce it?
{ "team_id": "T3EUAI38V1NLY", "schedule": "SI5IWXQ9ZICE1", "name": "[L1] Rotation", "type": "rolling_users", "start": "2024-10-28T08:00:00", "duration": 86400, "rotation_start": "2024-10-28T08:00:00", "frequency": "daily", "interval": 1, "until": "2024-10-28T12:00:00", "rolling_users": [ [ "URVWJP9QUDG14" ] ], "start_rotation_from_user_index": 0 }
Grafana OnCall Version
Grafana Cloud
Product Area
Schedules, Other
Grafana OnCall Platform?
I use Grafana Cloud
User's Browser?
Google chrome 16.0.5845.140 (Official Build) (arm64)
Anything else to add?
No response