智能双录质检 CreateLiveDetection

By | 2021年4月23日

调用CreateLiveDetection创建远程双录质检任务

请确保在使用该接口前,已充分了解智能双录质检产品的收费方式和价格。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String CreateLiveDetection

系统规定参数。取值:CreateLiveDetection。

LiveId String 0f1c45cd-3eee-4e60-b505-2e330b8755d3

会议ID

MetaUrl String http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.meta

检测流程的元信息

RuleId String cf1c45cd-3eee-1e60-b505-2e330b87b5d3

检测规则

UserId String 7276e3ecd07866ca

用户ID

返回数据

名称 类型 示例值 描述
Code String OK
Data Struct

数据

Id String f3bd31c0-0001-4b4b-977d-7cfa64b585f5

检测任务ID

Message String
RequestId String f3bd31c0-0001-4b4b-977d-7cfa64b585f5

示例

请求示例

http(s)://[Endpoint]/?Action=CreateLiveDetection
&LiveId=0f1c45cd-3eee-4e60-b505-2e330b8755d3
&MetaUrl=http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.meta
&RuleId=cf1c45cd-3eee-1e60-b505-2e330b87b5d3
&UserId=7276e3ecd07866ca
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>f3bd31c0-0001-4b4b-977d-7cfa64b585f5</RequestId>
<Message>-</Message>
<Data>
    <Id>f3bd31c0-0001-4b4b-977d-7cfa64b585f5</Id>
</Data>
<Code>OK</Code>

JSON 格式

{
    "RequestId": "f3bd31c0-0001-4b4b-977d-7cfa64b585f5",
    "Message": "-",
    "Data": {
        "Id": "f3bd31c0-0001-4b4b-977d-7cfa64b585f5"
    },
    "Code": "OK"
}

错误码

HttpCode 错误码 错误信息 描述
403 Forbidden Access to this resource on the server is denied. 没有权限访问该资源
500 InternalServerError An internal server error occurred. 服务器内部出错
400 InvalidRequest The request is invalid. 无效的请求
404 ResourceNotFound The specified resource does not exist. 找不到指定的资源
401 Unauthorized The request requires user authentication. 该请求需要进行身份认证

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress