跳转到主要内容
POST
/
schedule
/
infos
根据ID列表获取值班表信息
curl --request POST \
  --url 'https://api.flashcat.cloud/schedule/infos?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schedule_id": 123,
  "start": 1111111111,
  "end": 11111111111
}
'
{
  "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-紫光云",
        "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-紫光云",
        "team_id": 2477033058131,
        "description": "",
        "layer_schedules": null,
        "status": 0,
        "cur_oncall": null,
        "next_oncall": null
      }
    ]
  }
}

授权

app_key
string
query
必填

请求体

application/json
schedule_ids
string[]
必填

"schedule_ids":[2862209469733,2721315060917]}

响应

200 - application/json
error
object
必填
data
object