POST api/exam/getfacecompar

人脸对比

Request Information

URI Parameters

None.

Body Parameters

FaceComparList
NameDescriptionTypeAdditional information
FCL

Collection of FaceCompar

None.

Request Formats

application/json, text/json

Sample:
{
  "FCL": [
    {
      "image": "sample string 1",
      "image_type": "sample string 2",
      "face_type": "sample string 3",
      "quality_control": "sample string 4",
      "liveness_control": "sample string 5"
    },
    {
      "image": "sample string 1",
      "image_type": "sample string 2",
      "face_type": "sample string 3",
      "quality_control": "sample string 4",
      "liveness_control": "sample string 5"
    }
  ]
}

text/html

Sample:
{"FCL":[{"image":"sample string 1","image_type":"sample string 2","face_type":"sample string 3","quality_control":"sample string 4","liveness_control":"sample string 5"},{"image":"sample string 1","image_type":"sample string 2","face_type":"sample string 3","quality_control":"sample string 4","liveness_control":"sample string 5"}]}

application/xml, text/xml

Sample:
<FaceComparList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Common">
  <FCL>
    <FaceCompar>
      <face_type>sample string 3</face_type>
      <image>sample string 1</image>
      <image_type>sample string 2</image_type>
      <liveness_control>sample string 5</liveness_control>
      <quality_control>sample string 4</quality_control>
    </FaceCompar>
    <FaceCompar>
      <face_type>sample string 3</face_type>
      <image>sample string 1</image>
      <image_type>sample string 2</image_type>
      <liveness_control>sample string 5</liveness_control>
      <quality_control>sample string 4</quality_control>
    </FaceCompar>
  </FCL>
</FaceComparList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

人脸对比

JsonRtnDtoOfObject
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {}
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data />
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfanyType>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{}});