根据作业组查询作业
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListJobsByGroup |
系统规定参数。取值:ListJobsByGroup。 |
InstanceId | String | 是 | af81a389-91f0-4157-8d82-720edd02b66a |
实例id |
JobGroupId | String | 是 | de48407d-309e-451a-81ec-6fb11f8fdbf3 |
作业组id |
PageNumber | Integer | 是 | 1 |
页号 |
PageSize | Integer | 是 | 10 |
个数 |
JobStatus | String | 否 | Succeeded |
作业状态 |
JobFailureReason | String | 否 | NoAnswer |
作业失败原因 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | String | OK |
接口状态码 |
HttpStatusCode | Integer | 200 |
http 状态码 |
Jobs | Struct |
作业数据 |
|
List | Array of Job |
作业数组 |
|
CallingNumbers | List | ["0571****3106"] |
主叫号码列表 |
Contacts | Array of Contact |
联系人列表 |
|
ContactId | String | db3db762-e421-44c9-9a01-cb423470757c |
联系人id |
ContactName | String | 张三 |
联系人名字 |
Honorific | String | 张先生 |
联系人尊称 |
JobId | String | 72dcd26b-f12d-4c27-b3af-18f6aed5b160 |
作业id |
PhoneNumber | String | 135****8888 |
号码 |
ReferenceId | String | 2fa6bac3-06da-4315-82ab-72d6fd3a6f34 |
联系人第三方系统id |
Role | String | * |
角色 |
State | String | Available |
状态 |
Extras | Array of KeyValuePair |
业务数据 |
|
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 |
场景id |
Status | String | Succeeded |
作业状态 |
StrategyId | String | c8a2b7f2-ad1a-4865-b872-d0080d9802d9 |
策略id |
Summary | Array of Summary |
对话摘要 |
|
Category | String | {} |
对话摘要类别 |
Content | String | 5 |
对话摘要内容 |
ConversationDetailId | String | 62a860f5-a8b3-4b75-9512-c7e04bb7c8bc |
对话文本id |
JobGroupId | String | 88e56cfb-33f8-477a-907c-0fe83292d924 |
作业组id |
JobId | String | f102a853-5f5a-47fb-8869-b31ea74a9620 |
作业id |
SummaryId | String | 680f1905-81ae-4aab-99dd-2964dfb767fa |
摘要id |
SummaryName | String | score |
对话摘要名字 |
TaskId | String | b0f35dd1-0337-402e-9c4f-3a6c2426950a |
任务id |
SystemPriority | Integer | 1 |
系统优先级 |
PageNumber | Integer | 1 |
页号 |
PageSize | Integer | 10 |
个数 |
TotalCount | Integer | 1 |
总计个数 |
Message | String | Success |
接口提示消息 |
RequestId | String | 254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
请求id |
Success | Boolean | true |
是否成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=ListJobsByGroup
&InstanceId=af81a389-91f0-4157-8d82-720edd02b66a
&JobGroupId=de48407d-309e-451a-81ec-6fb11f8fdbf3
&PageNumber=1
&PageSize=10
&<公共请求参数>
正常返回示例
XML
格式
<Message>Success</Message>
<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>
<Jobs>
<TotalCount>1</TotalCount>
<PageSize>10</PageSize>
<PageNumber>1</PageNumber>
<List>
<Status>Succeeded</Status>
<JobGroupId>fce6c599-8ede-40e3-9f78-0928eda7b4e8</JobGroupId>
<ScenarioId>ade80092-03d9-4f4d-ad4f-ab8a247d3150</ScenarioId>
<ReferenceId>d5971d98-7312-4f0e-a918-a17d67133e28</ReferenceId>
<Priority>5</Priority>
<FailureReason>NoAnswer</FailureReason>
<SystemPriority>1</SystemPriority>
<StrategyId>c8a2b7f2-ad1a-4865-b872-d0080d9802d9</StrategyId>
<JobId>b72425bd-7871-4050-838e-033d80d754b7</JobId>
<Contacts>
<Role>*</Role>
<Honorific>张先生</Honorific>
<ReferenceId>2fa6bac3-06da-4315-82ab-72d6fd3a6f34</ReferenceId>
<State>Available</State>
<PhoneNumber>135****8888</PhoneNumber>
<ContactId>db3db762-e421-44c9-9a01-cb423470757c</ContactId>
<ContactName>张三</ContactName>
<JobId>72dcd26b-f12d-4c27-b3af-18f6aed5b160</JobId>
</Contacts>
<Extras>
<Value>2019-08-21 09:49:59.0</Value>
<Key>djrq</Key>
</Extras>
<Summary>
<JobGroupId>88e56cfb-33f8-477a-907c-0fe83292d924</JobGroupId>
<Category>{}</Category>
<TaskId>b0f35dd1-0337-402e-9c4f-3a6c2426950a</TaskId>
<ConversationDetailId>62a860f5-a8b3-4b75-9512-c7e04bb7c8bc</ConversationDetailId>
<Content>5</Content>
<SummaryId>680f1905-81ae-4aab-99dd-2964dfb767fa</SummaryId>
<SummaryName>score</SummaryName>
<JobId>f102a853-5f5a-47fb-8869-b31ea74a9620</JobId>
</Summary>
<CallingNumbers>["0571****3106"]</CallingNumbers>
</List>
</Jobs>
<HttpStatusCode>200</HttpStatusCode>
<Code>OK</Code>
<Success>true</Success>
JSON
格式
{"Message":"Success","RequestId":"254EB995-DEDF-48A4-9101-9CA5B72FFBCC","Jobs":{"TotalCount":"1","PageSize":"10","PageNumber":"1","List":[{"Status":"Succeeded","JobGroupId":"fce6c599-8ede-40e3-9f78-0928eda7b4e8","ScenarioId":"ade80092-03d9-4f4d-ad4f-ab8a247d3150","ReferenceId":"d5971d98-7312-4f0e-a918-a17d67133e28","Priority":"5","FailureReason":"NoAnswer","SystemPriority":"1","StrategyId":"c8a2b7f2-ad1a-4865-b872-d0080d9802d9","JobId":"b72425bd-7871-4050-838e-033d80d754b7","Contacts":[{"Role":"*","Honorific":"张先生","ReferenceId":"2fa6bac3-06da-4315-82ab-72d6fd3a6f34","State":"Available","PhoneNumber":"135****8888","ContactId":"db3db762-e421-44c9-9a01-cb423470757c","ContactName":"张三","JobId":"72dcd26b-f12d-4c27-b3af-18f6aed5b160"}],"Extras":[{"Value":"2019-08-21 09:49:59.0","Key":"djrq"}],"Summary":[{"JobGroupId":"88e56cfb-33f8-477a-907c-0fe83292d924","Category":"{}","TaskId":"b0f35dd1-0337-402e-9c4f-3a6c2426950a","ConversationDetailId":"62a860f5-a8b3-4b75-9512-c7e04bb7c8bc","Content":"5","SummaryId":"680f1905-81ae-4aab-99dd-2964dfb767fa","SummaryName":"score","JobId":"f102a853-5f5a-47fb-8869-b31ea74a9620"}],"CallingNumbers":"[\"0571****3106\"]"}]},"HttpStatusCode":"200","Code":"OK","Success":"true"}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | 内部错误。建议重试,如果多次重试报错请提交工单。 |
400 | InvalidParameter | The specified parameter %s is invalid. | 参数值校验不通过。请使用请求参数构造规范化的请求字符串。 |
404 | NotExist.Instance | The specified Instance does not exist. | 指定的实例不存在。 |
访问错误中心查看更多错误码。