- Open API
- Quick Start
- About Pagination
- Member Management
- Team Management
- Schedule Management
- Information Retrieval
- Preference Settings
- Channel
- Template Management
- Incident Management
- Group View
- Match conditions
- Enable rule
- Disable rule
- Delete rule
- Rule list
- See creation interface for filters explanation
- Create rule
- Rule description
- Update rule
- Channel
- Match conditions
- Match conditions
- Update rule
- Channel
- Rule ID
- Inner conditions
- Enable rule
- Rule list
- Rule details
- Rule name
- Rule description
- Match conditions
- Rule description
- See creation interface for filters explanation
- Disable rule
- Rule description
- Alert Management
- Change Management
- Insights (old)
- Custom Fields
- Service Calendar
- Label Enhancement
- Alert Processing
- Integration Routing
- License Management
- Insights
- Event API
- Webhook
Get schedule information by ID list
POST
/schedule/infos
Request
Body Params application/json
schedule_ids
array[string]
Schedule ID list
Example
{
"schedule_id": 123,
"start": 1111111111,
"end": 11111111111
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/schedule/infos' \
--header 'Content-Type: application/json' \
--data-raw '{
"schedule_id": 123,
"start": 1111111111,
"end": 11111111111
}'
Responses
🟢200成功
application/json
Body
error
object
required
code
enum<string>
Error code
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
Error description
data
object
optional
items
array [object {5}]
optional
Example
{
"request_id": "0a63016e664c41337a598ff893017bb0",
"data": {
"items": [
{
"id": 2721315060917,
"name": "test001",
"account_id": 2451002751131,
"desc": "",
"group_id": 2477033058131,
"disabled": 0,
"create_at": 1706182604,
"create_by": 2715149662131,
"update_at": 1714484234,
"update_by": 2476909022131,
"layers": null,
"schedule_layers": null,
"final_schedule": {
"name": "",
"mode": 0,
"schedules": null
},
"notify": {
"advance_in_time": 0,
"by": {
"follow_preference": false,
"personal_channels": null
},
"webhooks": null
},
"schedule_id": 2721315060917,
"schedule_name": "test001",
"team_id": 2477033058131,
"description": "",
"layer_schedules": null,
"status": 0,
"cur_oncall": null,
"next_oncall": null
},
{
"id": 2862209469733,
"name": "test-Uniscloud",
"account_id": 2451002751131,
"desc": "",
"group_id": 2477033058131,
"disabled": 0,
"create_at": 1708934448,
"create_by": 2476909022131,
"update_at": 1714105918,
"update_by": 2476909022131,
"layers": null,
"schedule_layers": null,
"final_schedule": {
"name": "",
"mode": 0,
"schedules": null
},
"notify": {
"advance_in_time": 0,
"by": {
"follow_preference": true,
"personal_channels": null
},
"webhooks": null
},
"schedule_id": 2862209469733,
"schedule_name": "test-Uniscloud",
"team_id": 2477033058131,
"description": "",
"layer_schedules": null,
"status": 0,
"cur_oncall": null,
"next_oncall": null
}
]
}
}
Modified at 2025-01-22 10:14:38