POST /CCSQM/rest/ccisqm/v1/qualitytask/queryQualityTask
Scenario
This interface is invoked to query a manual review task.
Method
POST
URI
https://Domain name/apiaccess/CCSQM/rest/ccisqm/v1/qualitytask/queryQualityTask (For example, the domain name is service.besclouds.com.)
Request Description
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1 |
Content-Type |
String |
No |
The value is fixed to application/json; charset=UTF-8. |
2 |
x-app-key |
String |
No |
App key |
3 |
Authorization |
String |
Yes |
Authentication field. The format is Bearer {Value of AccessToken returned by the tokenByAkSk interface}. (A space is required after Bearer.) |
4 |
x-UserId |
String |
Yes |
Operator ID You can sign in to the system and go to the employee management page to view the value of userId returned by an interface. |
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1.1 |
fixedColumns |
Object |
No |
Sample inspection task details |
1.1.1 |
fileName |
String |
No |
File name. The value can contain a maximum of 32 characters. |
1.1.2 |
creatOperator |
String |
No |
Creator. The value can contain a maximum of 32 characters. |
1.1.3 |
reviewingOfficer |
String |
No |
Reviewer. The value can contain a maximum of 32 characters. |
1.1.4 |
status |
Number |
No |
Effective status |
1.1.5 |
planName |
String |
No |
Sample inspection task name. The value can contain a maximum of 32 characters. |
1.2 |
userId |
String |
No |
User ID |
1.3 |
currentRole |
String |
Yes |
User role |
1.4 |
startTimeMillis |
Number |
Yes |
Time when a sample inspection task starts |
1.5 |
endTimeMillis |
Number |
Yes |
Time when a sample inspection task ends |
1.6 |
callStartTimeMillis |
Number |
No |
Call start time |
1.7 |
callEndTimeMillis |
Number |
No |
Call end time |
1.8 |
page |
Number |
Yes |
Page number. Pagination information. The value is greater than or equal to 1. |
1.9 |
rows |
Number |
Yes |
Number of records on each page. Pagination information. The value ranges from 1 to 100. |
Response Description
- Status code: 200
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1.1 |
total |
Number |
Yes |
Total number of records |
1.2 |
data |
Array [Object] |
Yes |
Sample inspection task list |
1.2.1 |
id |
Number |
No |
Sample inspection task ID |
1.2.2 |
planCode |
String |
Yes |
Sample inspection task |
1.2.3 |
planCodeStr |
String |
Yes |
Sample inspection task |
1.2.4 |
planName |
String |
Yes |
Sample inspection task name |
1.2.5 |
createTime |
Number |
Yes |
Sample inspection task creation time |
1.2.6 |
creatOperator |
String |
Yes |
Creator |
1.2.7 |
callStart |
Number |
No |
Call start time |
1.2.8 |
callEnd |
Number |
No |
Call end time |
1.2.9 |
inspectTotalCount |
Number |
Yes |
Total number of inspected calls |
1.2.10 |
inspectFinishedCount |
Number |
Yes |
Number of calls that have been inspected |
1.2.11 |
reviewTotalCount |
Number |
Yes |
Number of inspected calls to be reviewed |
1.2.12 |
reviewFinishedCount |
Number |
Yes |
Number of inspected calls that have been reviewed |
1.2.13 |
status |
String |
Yes |
Effective status |
1.2.14 |
effectiveDate |
Number |
No |
Effective time |
1.2.15 |
personType |
Number |
Yes |
Whether a task is created by the current operator |
1.2.16 |
reviewingOfficer |
String |
No |
Reviewer ID |
1.2.17 |
reviewingOfficerName |
String |
No |
Reviewer name |
1.2.18 |
isManipulate |
Number |
Yes |
Whether the current inspection task can be operated |
1.2.19 |
interactionType |
String |
false |
Interaction type. The options are as follows:
|
1.3 |
resultCode |
Number |
Yes |
Interface success flag |
1.4 |
resultDesc |
String |
No |
Success or failure information |
1.5 |
returnCode |
String |
No |
Return code
|
1.6 |
returnDesc |
String |
No |
Return description |
- Status code: 400
Incorrect request. Check the request path and parameters.
- Status code: 401
Unauthorized operation. 1. Check whether you have purchased related services. 2. Contact customer service to check the status of your account.
- Status code: 404
The requested content is not found. Check the request path.
- Status code: 500
Business failure. Check the values of parameters in the request.
Error Codes
None
Example
- Scenario: Query a manual review task.
x-app-key:************************************ X-UserID:1611917095665261978 Authorization:Bearer ********************************
Request parameters:
{ "customColumns": [], "fixedColumns": { "fileName": "", "creatOperator": "", "reviewingOfficer": "", "status": null, "planName": "", "customerPhone": "" }, "currentRole": "qualityDirector", "startTimeMillis": 1623319872, "endTimeMillis": 1623924672, "callStartTimeMillis": null, "callEndTimeMillis": null, "page": 1, "rows": 10 }
Response parameters:
{ "total": 4, "data": [{ "reviewFinishedCount": 0, "inspectFinishedCount": 0, "planName": "er32324", "isManipulate": 0, "inspectTotalCount": 10, "planCode": "16239241148860783173", "planCodeStr": "16239241148860783173", "creatOperator": "zjzglong", "createTime": 1623924115, "id": "16239241148860783173", "personType": 1, "reviewTotalCount": 0, "status": "4" }, { "reviewFinishedCount": 0, "inspectFinishedCount": 0, "planName": "234", "isManipulate": 0, "inspectTotalCount": 10, "planCode": "16239245027406915901", "planCodeStr": "16239245027406915901", "creatOperator": "zjzglong", "createTime": 1623924503, "id": "16239245027406915901", "personType": 0, "reviewTotalCount": 0, "status": "0" }, { "reviewFinishedCount": 0, "inspectFinishedCount": 0, "planName": "tes23", "isManipulate": 0, "inspectTotalCount": 10, "planCode": "16238263488553287941", "planCodeStr": "16238263488553287941", "creatOperator": "zjzglong", "createTime": 1623826349, "id": "16238263488553287941", "personType": 1, "reviewTotalCount": 0, "effectiveDate": 1623913453, "status": "1" }, { "reviewFinishedCount": 0, "inspectFinishedCount": 0, "planName": "Test case", "isManipulate": 0, "inspectTotalCount": 2, "planCode": "16239128427437922220", "planCodeStr": "16239128427437922220", "creatOperator": "zjzglong", "createTime": 1623912843, "id": "16239128427437922220", "personType": 1, "reviewTotalCount": 0, "status": "1" }], "resultCode": "0409000", "resultDesc": "Operation successful." }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot