查询外呼作业组列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListJobGroups

系统规定参数。取值:ListJobGroups。

InstanceId String 174952ab-9825-4cc9-a5e2-de82d7fa4cdd

实例id

PageNumber Integer 1

页号

PageSize Integer 10

个数

StartTime Long 1578965079000

过滤条件,开始时间

EndTime Long 1579965079000

结束时间

返回数据

名称 类型 示例值 描述
Code String OK

接口状态码

HttpStatusCode Integer 200

http状态码

JobGroups Struct

作业组列表

List Array

数组

CreationTime Long 1578550074361

创建时间

JobGroupDescription String 催收的作业组

作业组描述

JobGroupId String c62e6789-28a8-41db-941e-171a01d3b3b9

作业组id

JobGroupName String 催收作业组

作业组名字

Progress Struct

作业组统计信息

Duration Integer 1000

持续时间

StartTime Long 1578965079000

开始时间

Status String Executing

执行状态

TotalCompleted Integer 5

总计完成个数

TotalJobs Integer 10

总计作业数量

TotalNotAnswered Integer 0

作业未接通数量

ScriptId String 6cea9bed-63e6-439e-ae4c-b3333efff53d

话术id

ScriptName String 催收话术

话术名字

Strategy Struct

作业组调度信息

EndTime Long 1578550074000

策略开始时间

StartTime Long 2209702074000

策略结束时间

PageNumber Integer 1

页号

PageSize Integer 10

个数

TotalCount Integer 100

总计个数

Message String Success

接口提示消息

RequestId String 254EB995-DEDF-48A4-9101-9CA5B72FFBCC

请求id

Success Boolean true

是否成功

示例

请求示例

http(s)://[Endpoint]/?Action=ListJobGroups
&InstanceId=174952ab-9825-4cc9-a5e2-de82d7fa4cdd
&PageNumber=1
&PageSize=10
&<公共请求参数>

正常返回示例

XML 格式

<Code>OK</Code>
<HttpStatusCode>200</HttpStatusCode>
<JobGroups>
    <CallingNumbers>95187</CallingNumbers>
    <JobGroupName>第一个催收作业组</JobGroupName>
    <ScriptId>63cc3b45-feb2-4676-a7d7-f717001fa1e1</ScriptId>
    <Strategy>
        <MaxAttemptsPerDay>2</MaxAttemptsPerDay>
        <MinAttemptInterval>60</MinAttemptInterval>
        <StrategyName>策略名字</StrategyName>
        <WorkingTime>
            <BeginTime>09:00:00</BeginTime>
            <EndTime>12:00:00</EndTime>
        </WorkingTime>
        <WorkingTime>
            <BeginTime>13:00:00</BeginTime>
            <EndTime>18:30:00</EndTime>
        </WorkingTime>
    </Strategy>
</JobGroups>
<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>
<Success>true</Success>

JSON 格式

{
    "Code": "OK",
    "HttpStatusCode": 200,
    "JobGroups": [{
        "CallingNumbers": ["95187"],
        "JobGroupName": "第一个催收作业组",
        "ScriptId": "63cc3b45-feb2-4676-a7d7-f717001fa1e1",
        "Strategy": {
            "MaxAttemptsPerDay": 2,
            "MinAttemptInterval": 60,
            "StrategyName": "策略名字",
            "WorkingTime": [
                {
                    "BeginTime": "09:00:00",
                    "EndTime": "12:00:00"
                },
                {
                    "BeginTime": "13:00:00",
                    "EndTime": "18:30:00"                }
            ]
        }
    }],
    "RequestId":"254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
    "Success": true
}

错误码

访问错误中心查看更多错误码。