Announcement Schedules
Update an announcement schedule
PATCH
https://api.tunio.ai/v1/announcements/schedules/{schedule_id}Update the interval of an existing schedule
路径参数
| 名称 | 类型 | 说明 |
|---|---|---|
| schedule_idRequired | string | Schedule ID |
请求体
Updated schedule data
| 名称 | 类型 | 说明 |
|---|---|---|
| interval | integer | Interval updates the repeat period in minutes. |
请求示例
01{02 "interval": 12003}
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| schedule | object | Schedule holds updated schedule details. |
| announcement | object | Announcement contains announcement meta referenced by the schedule. |
| interval | integer | Interval is the repeat period in minutes. |
| schedule_id | string | UUID uniquely identifies the schedule entry. |
| stream | object | Stream describes the stream where announcement is played. |
| success | boolean | Success confirms the schedule was updated. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |