查询多个作业

调试

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

请求参数

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

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

InstanceId String af81a389-91f0-4157-8d82-720edd02b66a

实例id

JobId.N RepeatList 24fb9a8d-f20e-4ee2-a11c-094dda68c5cc

作业id

返回数据

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

接口状态码

HttpStatusCode Integer 200

http 状态码

Jobs Array

作业数组

CallingNumbers List ["057126883106"]

主叫号码列表

Contacts Array

联系人列表

ContactId String db3db762-e421-44c9-9a01-cb423470757c

联系人id

ContactName String 张三

联系人名字

Honorific String 张先生

尊称

JobId String 72dcd26b-f12d-4c27-b3af-18f6aed5b160

作业id

PhoneNumber String 13581588888

电话号码

ReferenceId String 2fa6bac3-06da-4315-82ab-72d6fd3a6f34

联系人第三方系统id

Role String *

联系人角色

State String Available

状态

Extras Array

业务参数列表

Key String djrq
Value String 2019-08-21 09:49:59.0
FailureReason String NoAnswer

作业失败原因

JobGroupId String fce6c599-8ede-40e3-9f78-0928eda7b4e8

作业组id

JobId String b72425bd-7871-4050-838e-033d80d754b7

作业id

Priority Integer 5

作业优先级

ReferenceId String d5971d98-7312-4f0e-a918-a17d67133e28

作业第三方系统id

ScenarioId String ade80092-03d9-4f4d-ad4f-ab8a247d3150

作业状态

Status String Succeeded

作业状态

StrategyId String c8a2b7f2-ad1a-4865-b872-d0080d9802d9

策略id

Summary Array

对话摘要信息

Category String {}

对话摘要类别

Content String 5

对话摘要内容

SummaryName String score

对话摘要名字

SystemPriority Integer 1

系统优先级

Tasks Array

任务列表

ActualTime Long 1579068424883

实际执行时间

Brief String 1

业务结果

CallId String 1528189846043

呼叫id

CalledNumber String 13512345678

被叫号码

CallingNumber String 057126883106

主叫号码

ChatbotId String 1234

对话机器人id

Contact Struct

任务的联系人

ContactId String db3db762-e421-44c9-9a01-cb423470757c

联系人id

ContactName String 张三

联系人名字

Honorific String 张先生

联系人尊称

JobId String b72425bd-7871-4050-838e-033d80d754b7

作业id

PhoneNumber String 13512345678

电话号码

ReferenceId String 2fa6bac3-06da-4315-82ab-72d6fd3a6f34

联系人第三方系统id

Role String *

角色

State String Available

状态

Conversation Array

对话列表

Script String 你好,我是**客服

对话文本

Speaker String Robot

是谁说的话,Robot 机器人, Contact 联系人

Summary Array

摘要信息

Category String {}
Content String 5
SummaryName String score
Timestamp Long 1579068424883

对话文本入库时间戳

Duration Integer 120

持续时间

JobId String b72425bd-7871-4050-838e-033d80d754b7

作业id

PlanedTime Long 1579068424883

任务计划执行时间

ScenarioId String ade80092-03d9-4f4d-ad4f-ab8a247d3150

场景id

Status String Succeeded

任务状态

TaskId String ff44709e-39a6-43ba-959b-20fcabe3e496

任务id

Message String Success

接口提示消息

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

请求id

Success Boolean true

是否成功

示例

请求示例

http(s)://[Endpoint]/?Action=ListJobs
&InstanceId=af81a389-91f0-4157-8d82-720edd02b66a
&JobId.1=24fb9a8d-f20e-4ee2-a11c-094dda68c5cc
&<公共请求参数>

正常返回示例

XML 格式

<Code>OK</Code>
<HttpStatusCode>200</HttpStatusCode>
<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>
<Job>
    <Status>Succeeded</Status>
    <ScenarioId>jr-collection-first-scenario</ScenarioId>
    <Tasks>
        <Status>Succeeded</Status>
        <ChatbotId>419</ChatbotId>
        <PlanedTime>1578638554000</PlanedTime>
        <CalledNumber>135********</CalledNumber>
        <ScenarioId>jr-collection-first-scenario</ScenarioId>
        <EndTime>1578638623000</EndTime>
        <ActualTime>1578638570000</ActualTime>
        <CallId>00001051951578638555</CallId>
        <CreateTime>1578638554000</CreateTime>
        <Conversation>
            <Status>DISTINGUISH</Status>
            <Script/>
            <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
            <ConversationId>2380a728-45c1-45af-853c-fb7669dc512b</ConversationId>
            <Timestamp>1578638570000</Timestamp>
            <Speaker>Contact</Speaker>
        </Conversation>
        <Conversation>
            <Status>DISTINGUISH</Status>
            <Script>您好,***有限公司,请问是王文杰王文杰女士吗</Script>
            <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
            <ConversationId>2b30bd6f-be21-4330-9d2c-a6fd1c4d0128</ConversationId>
            <Timestamp>1578638571000</Timestamp>
            <Speaker>Robot</Speaker>
        </Conversation>
        <Conversation>
            <Status>DISTINGUISH</Status>
            <Script>是的</Script>
            <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
            <ConversationId>bde777f0-44a1-4e10-a405-4f8aa3b885a1</ConversationId>
            <Timestamp>1578638584000</Timestamp>
            <Speaker>Contact</Speaker>
        </Conversation>
        <ContactId>8704619d-61ec-4344-a9f8-06654b795ecf</ContactId>
        <Brief>1</Brief>
        <CallingNumber>1003</CallingNumber>
        <Contact>
            <Role>1</Role>
            <Honorific>王文杰女士</Honorific>
            <ReferenceId>abc</ReferenceId>
            <PhoneNumber>135********</PhoneNumber>
            <Round>0</Round>
            <ContactId>8704619d-61ec-4344-a9f8-06654b795ecf</ContactId>
            <JobUuid>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobUuid>
            <ContactName>王文杰</ContactName>
        </Contact>
        <LastUpdated>1578638623000</LastUpdated>
        <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
        <JobId>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobId>
    </Tasks>
    <Priority>5</Priority>
    <CreateTime>1578638543000</CreateTime>
    <StrategyId>jr-collection-oneday-strategy</StrategyId>
    <Extras>
        <Value>1870.75</Value>
        <Key>capital</Key>
    </Extras>
    <Extras>
        <Value>奥迪A4L</Value>
        <Key>carBrand</Key>
    </Extras>
    <GroupId>finance-collection-first-group</GroupId>
    <Contacts>
        <Role>1</Role>
        <Honorific>王文杰王文杰女士</Honorific>
        <ReferenceId>abc</ReferenceId>
        <PhoneNumber>135********</PhoneNumber>
        <Round>0</Round>
        <Id>8704619d-61ec-4344-a9f8-06654b795ecf</Id>
        <JobUuid>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobUuid>
        <Name>王文杰王文杰</Name>
    </Contacts>
    <SystemPriority>1</SystemPriority>
    <Summary>
        <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
        <Content>yes</Content>
        <SummaryId>11a82ea0-ca18-4c66-8fb2-fa88cbd84784</SummaryId>
        <JobUuid>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobUuid>
        <SummaryName>Connected</SummaryName>
    </Summary>
    <Summary>
        <TaskId>2e5e440e-228a-4b2d-97e4-e8ca93a68bd3</TaskId>
        <Content>yes</Content>
        <SummaryId>b0a4c6b3-bfa7-488e-b77a-394a52932e0d</SummaryId>
        <JobUuid>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobUuid>
        <SummaryName>Connected</SummaryName>
    </Summary>
    <JobId>177fbde7-dafa-47b6-b996-6a96d11b44ce</JobId>
    <CallingNumbers>1003</CallingNumbers>
</Job>
<Success>true</Success>

JSON 格式

{
    "Code": "OK",
    "HttpStatusCode": 200,
    "RequestId":"254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
    "Job": [
        {
        "Status":"Succeeded",
        "ScenarioId":"jr-collection-first-scenario",
        "Tasks":[
            {
                "Status":"Succeeded",
                "ChatbotId":"419",
                "PlanedTime":1578638554000,
                "CalledNumber":"135********",
                "ScenarioId":"jr-collection-first-scenario",
                "EndTime":1578638623000,
                "ActualTime":1578638570000,
                "CallId":"00001051951578638555",
                "CreateTime":1578638554000,
                "Summaries":[

                ],
                "Conversation":[
                    {
                        "Status":"DISTINGUISH",
                        "Script":"",
                        "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                        "ConversationId":"2380a728-45c1-45af-853c-fb7669dc512b",
                        "Timestamp":1578638570000,
                        "Speaker":"Contact"
                    },
                    {
                        "Status":"DISTINGUISH",
                        "Script":"您好,***有限公司,请问是王文杰王文杰女士吗",
                        "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                        "ConversationId":"2b30bd6f-be21-4330-9d2c-a6fd1c4d0128",
                        "Timestamp":1578638571000,
                        "Speaker":"Robot"
                    },
                    {
                        "Status":"DISTINGUISH",
                        "Script":"是的",
                        "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                        "ConversationId":"bde777f0-44a1-4e10-a405-4f8aa3b885a1",
                        "Timestamp":1578638584000,
                        "Speaker":"Contact"
                    }
                ],
                "ContactId":"8704619d-61ec-4344-a9f8-06654b795ecf",
                "Brief":"1",
                "CallingNumber":"1003",
                "Contact":{
                    "Role":"1",
                    "Honorific":"王文杰女士",
                    "ReferenceId":"abc",
                    "PhoneNumber":"135********",
                    "Round":0,
                    "ContactId":"8704619d-61ec-4344-a9f8-06654b795ecf",
                    "JobUuid":"177fbde7-dafa-47b6-b996-6a96d11b44ce",
                    "ContactName":"王文杰"
                },
                "LastUpdated":1578638623000,
                "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                "JobId":"177fbde7-dafa-47b6-b996-6a96d11b44ce"
            }
        ],
        "Priority":5,
        "CreateTime":1578638543000,
        "StrategyId":"jr-collection-oneday-strategy",
        "Extras":[
            {
                "Value":"1870.75",
                "Key":"capital"
            },
            {
                "Value":"奥迪A4L",
                "Key":"carBrand"
            }
        ],
        "GroupId":"finance-collection-first-group",
        "Contacts":[
            {
                "Role":"1",
                "Honorific":"王文杰王文杰女士",
                "ReferenceId":"abc",
                "PhoneNumber":"135********",
                "Round":0,
                "Id":"8704619d-61ec-4344-a9f8-06654b795ecf",
                "JobUuid":"177fbde7-dafa-47b6-b996-6a96d11b44ce",
                "Name":"王文杰王文杰"
            }
        ],
        "SystemPriority":1,
        "Summary":[
            {
                "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                "Content":"yes",
                "SummaryId":"11a82ea0-ca18-4c66-8fb2-fa88cbd84784",
                "JobUuid":"177fbde7-dafa-47b6-b996-6a96d11b44ce",
                "SummaryName":"Connected"
            },
            {
                "TaskId":"2e5e440e-228a-4b2d-97e4-e8ca93a68bd3",
                "Content":"yes",
                "SummaryId":"b0a4c6b3-bfa7-488e-b77a-394a52932e0d",
                "JobUuid":"177fbde7-dafa-47b6-b996-6a96d11b44ce",
                "SummaryName":"Connected"
            }
        ],
        "JobId":"177fbde7-dafa-47b6-b996-6a96d11b44ce",
        "CallingNumbers":[
            "1003"
        ]
    }
    ],
    "Success": true
}

错误码

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