ListTaskAssignRules
Lists automatic allocation rules for review tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:ListTaskAssignRules |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
Complete JSON string information. See the details below for specific content. |
{"pageNumber":1,"pageSize":10} |
| BaseMeAgentId |
integer |
No |
Workspace ID. |
123456 |
Input Parameters
| Property | Value Type | Is Required | Description |
| pageSize | Integer | Yes | Number of entries per page. |
| pageNumber | Integer | Yes | Current page number. |
| skillName | String | No | Skill group name. |
| agentName | String | No | Agent name. |
| reviewerName | String | No | Reviewer name. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
106C6CA0-282D-4AF7-85F0-D2D24F4CE647 |
| Success |
boolean |
Indicates whether the request was successful. Callers can use this field to determine if the request succeeded: true for success, false/null for failure. |
true |
| Code |
string |
Result code. 200 indicates success. Other values indicate failure. Callers can use this field to determine the cause of failure. |
200 |
| Message |
string |
Error details if an error occurs. "successful" if the request succeeds. |
successful |
| PageNumber |
integer |
Current page number. |
1 |
| PageSize |
integer |
Number of entries per page. |
10 |
| Count |
integer |
Total number of entries. |
23 |
| Data |
object |
||
| TaskAssignRuleInfo |
array<object> |
Detailed response data. |
|
|
array<object> |
|||
| UpdateTime |
string |
Last update time. |
2019-07-12T14:47Z |
| SkillGroupsStr |
string |
Deprecated field. Ignore it. |
废弃字段 |
| CallTimeEnd |
integer |
End time of the call, in seconds. For example, 39600 for 11:00 AM. |
39600 |
| DurationMax |
integer |
Maximum call duration range, in seconds. |
400 |
| CreateTime |
string |
Creation time. |
2019-07-12T14:47Z |
| Priority |
integer |
Deprecated field. Ignore it. |
1 |
| DurationMin |
integer |
The minimum call duration in seconds. |
100 |
| AgentsStr |
string |
Deprecated field. Ignore it. |
废弃字段 |
| RuleName |
string |
Rule name. |
分配规则 |
| RuleId |
integer |
Rule ID. |
23 |
| AssignmentType |
integer |
Assignment type. Possible values: 0 for specified assignment, 1 for random assignment. |
0 |
| CallType |
integer |
Call type. Possible values: 1 for outbound, 3 for inbound, 0 for unlimited. |
1 |
| Enabled |
integer |
Deprecated field. Ignore it. |
1 |
| CallTimeStart |
integer |
End time of the call, in seconds. For example, 39600 for 11:00 AM. |
39600 |
| Agents |
object |
||
| Agent |
array<object> |
Agent list. |
|
|
object |
|||
| AgentName |
string |
Agent name. |
agent |
| AgentId |
string |
Agent user ID. |
202526561358712105 |
| SkillGroups |
object |
||
| SkillGroup |
array<object> |
Skill group list information. |
|
|
object |
|||
| SkillName |
string |
Skill group name. |
客服组 |
| SkillId |
string |
Deprecated field. Ignore it. |
废弃字段 |
| Reviewers |
object |
||
| Reviewer |
array<object> |
Reviewer information. |
|
|
object |
|||
| ReviewerId |
string |
Reviewer user ID. |
2337235457340978 |
| ReviewerName |
string |
Reviewer name. |
客服审核1 |
| Rules |
object |
||
| RuleBasicInfo |
array<object> |
List of selected quality inspection rules. |
|
|
object |
|||
| Name |
string |
Quality inspection rule name. |
用户可能要投诉 |
| Rid |
string |
Quality inspection rule ID. |
2312 |
| SamplingMode |
object |
Random allocation parameters. |
|
| NumberOfDraws |
integer |
Number of files sampled per agent when specifying agents by agent dimension. |
20 |
| AnyNumberOfDraws |
integer |
Duration of call recordings sampled in time dimension mode, in minutes. |
60 |
| Limit |
integer |
Upper limit for the number of sampled files. |
30 |
| Proportion |
number |
Sampling proportion. 0.1 represents 10%. |
0.1 |
| Dimension |
integer |
Sampling mode. Possible values: 0 for session dimension, 1 for agent dimension, 2 for time dimension. |
0 |
| Designated |
boolean |
Indicates whether agents are specified when the sampling mode is by agent dimension. |
true |
| RandomInspectionNumber |
integer |
Number of agents randomly sampled when agents are not specified by agent dimension. |
5 |
| SamplingModeAgents |
object |
||
| SamplingModeAgent |
array<object> |
List of agents when specifying agents by agent dimension. |
|
|
object |
|||
| AgentName |
string |
Agent username. |
zhangsan |
| AgentId |
string |
Agent ID. |
123 |
Examples
Success response
JSON format
{
"RequestId": "106C6CA0-282D-4AF7-85F0-D2D24F4CE647",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"Count": 23,
"Data": {
"TaskAssignRuleInfo": [
{
"UpdateTime": "2019-07-12T14:47Z",
"SkillGroupsStr": "废弃字段",
"CallTimeEnd": 39600,
"DurationMax": 400,
"CreateTime": "2019-07-12T14:47Z",
"Priority": 1,
"DurationMin": 100,
"AgentsStr": "废弃字段",
"RuleName": "分配规则",
"RuleId": 23,
"AssignmentType": 0,
"CallType": 1,
"Enabled": 1,
"CallTimeStart": 39600,
"Agents": {
"Agent": [
{
"AgentName": "agent",
"AgentId": "202526561358712105"
}
]
},
"SkillGroups": {
"SkillGroup": [
{
"SkillName": "客服组",
"SkillId": "废弃字段"
}
]
},
"Reviewers": {
"Reviewer": [
{
"ReviewerId": "2337235457340978",
"ReviewerName": "客服审核1"
}
]
},
"Rules": {
"RuleBasicInfo": [
{
"Name": "用户可能要投诉",
"Rid": "2312"
}
]
},
"SamplingMode": {
"NumberOfDraws": 20,
"AnyNumberOfDraws": 60,
"Limit": 30,
"Proportion": 0.1,
"Dimension": 0,
"Designated": true,
"RandomInspectionNumber": 5,
"SamplingModeAgents": {
"SamplingModeAgent": [
{
"AgentName": "zhangsan",
"AgentId": "123"
}
]
}
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.