Confirming the Online Recording Result
Function
Confirms the online recording result.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/voice-training-manage/user/training-segment
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
job_id |
Yes |
String |
Task ID. |
index |
Yes |
Integer |
Statement index. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
confirm_result |
Boolean |
Whether the confirmation is successful. |
unmatched_index_hit |
Array of integers |
Text index that does not match the explanation. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Example Requests
POST https://{endpoint}/v1/3f0924078d1b471c884a5383d4dec9fa/voice-training-manage/user/training-segment?job_id=26f06524-4f75-4b3a-a853-b649a21aaf66&index=1
Example Responses
Status code: 200
OK
{ "confirm_result" : false, "unmatched_index_hit" : [ 4096 ] }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Invalid parameter. |
Error Codes
See Error Codes.
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