Parameters | Type | Mandatory | Description |
TaskId | string | Yes | The taskId returned by submitting the audio quality inspection task |
Parameters | Type | Mandatory | Description |
AudioId | string | Yes | Audio ID |
DetectionCode | int | Yes | Detection codes:
0: indicating that the current audio passed.
-1: indicating that detection failed and needs to be retried.
-2: indicating that audio did not pass; user is prompted to re-record (usually due to missing, incorrect, or extra reading).
-3: indicating that significant noise in the audio, did not pass. |
DetectionMsg | string | No | Detection prompt message |
TaskState | string | No | Detection task status:
PROCESSING: In progress
SUCCESS: Task processing completed
FAIL: Task processing failed |
{ "Header": {}, "Payload": { "TaskId": 666 } }
{ "Header": { "RequestID": "gz1a74c25f17030396653416949", "SessionID": "gz1a74c25f17030396653416950", "DialogID": "", "Code": 0, "Message": "ok" }, "Payload": { "TaskState": "SUCCESS", "AudioId": "ZZZ", "DetectionCode": 0, "DetectionMsg":"success" } }
Was this page helpful?