Get Schedule List by IDs
DevelopingPOST
/schedule/infosRequest
Body Params application/json
schedule_ids
array[string]
Schedule ID list
"schedule_ids":[2862209469733,2721315060917]}
Example
{
"schedule_id": 123,
"start": 1111111111,
"end": 11111111111
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
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-Unisplendour Cloud",
"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-Unisplendour Cloud",
"team_id": 2477033058131,
"description": "",
"layer_schedules": null,
"status": 0,
"cur_oncall": null,
"next_oncall": null
}
]
}
}
Last modified: 2 个月前