POST api/v1/FaceVerify/FaceidDoLivenessUrl

返回跳转去Faceid核验的url

请求信息(Request)

URI 参数

None.

Body 参数

FaceidGetUrlArgs
名称描述类型备注
hotelId

integer

None.

comparison_type

string

None.

idcard_name

string

None.

idcard_number

string

None.

return_url

string

None.

notify_url

string

None.

biz_no

string

None.

biz_extra_data

string

None.

scene_id

string

None.

uuid

string

None.

image_ref1

string

None.

请求格式

application/json, text/json

Sample:
{
  "hotelId": 1,
  "comparison_type": "sample string 2",
  "idcard_name": "sample string 3",
  "idcard_number": "sample string 4",
  "return_url": "sample string 5",
  "notify_url": "sample string 6",
  "biz_no": "sample string 7",
  "biz_extra_data": "sample string 8",
  "scene_id": "sample string 9",
  "uuid": "sample string 10",
  "image_ref1": "sample string 11"
}

application/xml, text/xml

Sample:
<FaceidGetUrlArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query">
  <biz_extra_data>sample string 8</biz_extra_data>
  <biz_no>sample string 7</biz_no>
  <comparison_type>sample string 2</comparison_type>
  <hotelId>1</hotelId>
  <idcard_name>sample string 3</idcard_name>
  <idcard_number>sample string 4</idcard_number>
  <image_ref1>sample string 11</image_ref1>
  <notify_url>sample string 6</notify_url>
  <return_url>sample string 5</return_url>
  <scene_id>sample string 9</scene_id>
  <uuid>sample string 10</uuid>
</FaceidGetUrlArgs>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FaceidGetUrlArgs'.

响应信息(Response)

资源描述

RequestResultOfString
名称描述类型备注
Data

string

None.

Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": 2,
  "Message": "sample string 3",
  "Total": 4
}

application/xml, text/xml

Sample:
<RequestResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application">
  <Message>sample string 3</Message>
  <Status>2</Status>
  <Total>4</Total>
  <Data>sample string 1</Data>
</RequestResultOfstring>