POST api/Biometric/Verify

Verify against one member's enrolled biometric data.

Request Information

Body Parameters

BiometricRequest
NameDescriptionTypeAdditional information
CustomerKey

Customer-specific key provided by the vendor.

string

Required

EngineName

The biometric modality for which the customer subscribed. The engine name for iris biometrics is "IRIS01".

string

Required

RegistrationID

The unique identifier (Member ID) of the biometric enrollment that the requested operation will be performed on.

string

Required.

BiometricXml

The biometric template with XML formatting. The template data should be a base64 encoded string of the original iris image. Supported image formats: JPG, JPG2000, BMP, PNG

string

Required.

Request Formats

application/json, text/json

Sample:
{
  "CustomerKey": "82F37AC1-B23E-483B-BF01-071941653E3A",
  "EngineName": "IRIS01",
  "RegistrationID": "Jhon123",
  "BiometricXml": "<IMAGES>\r\n    <IMAGE TYPE='IRIS' SOURCE='LEFT' FORMAT='JPEG'>base64String of Iris image</IMAGE>\r\n    <IMAGE TYPE='IRIS' SOURCE='RIGHT' FORMAT='JPEG'>base64String of Iris image</IMAGE>\r\n</IMAGES>"
}

application/xml, text/xml

Sample:
<BiometricRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2SYS.Cloud.IrisAPI">
  <BiometricXml>
    <IMAGES>
      <IMAGE TYPE="IRIS" SOURCE="LEFT" FORMAT="JPEG">base64String of Iris image</IMAGE>
      <IMAGE TYPE="IRIS" SOURCE="RIGHT" FORMAT="JPEG">base64String of Iris image</IMAGE>
    </IMAGES>
  </BiometricXml>
  <CustomerKey>82F37AC1-B23E-483B-BF01-071941653E3A</CustomerKey>
  <EngineName>IRIS01</EngineName>
  <RegistrationID>Jhon123</RegistrationID>
</BiometricRequest>

Response Information

Operation-specific OperationResult values:

    Verify: VS - Verification successful. (The submitted biometric data matched the requested member's enrolled biometric data.)

    Verify: VF - Verification failed. (The submitted biometric data did not match the requested member's enrolled biometric data.)

    Verify: ID_NOT_EXIST - The Member ID doesn't exist in the system.

    Verify: POOR_IMAGE_QUALITY - The submitted iris image(s) were not good enough quality to fulfill the request.

General OperationResult values:

    INVALID_TEMPLATE: The submitted BiometricXml was not correctly formatted.

    CUSTOMER_INFO_NOT_FOUND: The specified CustomerKey was not found in the system. Please contat your vendor for assistance.

    INVALID_ENGINE: The specified EngineName was not valid.

    INVALID_REQUEST: The submitted request was not correctly formatted.

    LICENSE_ERROR: A system license limitation prevented your request from being fulfilled. Please contact your vendor for assistance.

    INTERNAL_ERROR: An unexpected system error was encountered. Please contact your vendor for assistance.

    CACHE_NOT_AVAILABLE: The requested record is not available in the system. Please contact your vendor for assistance.

Resource Description

MatchingResult
NameDescriptionTypeAdditional information
CustomerID

Customer Key that was used to make the request.

string

None.

OperationName

Name of operation that was requested.

EnumOperationName

None.

Status

The operation execution status.

EnumOperationStatus

None.

OperationResult

The result of the operation.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerID": "82F37AC1-B23E-483B-BF01-071941653E3A",
  "OperationName": "4",
  "Status": "1",
  "OperationResult": "VS"
}

application/xml, text/xml

Sample:
<MatchingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2SYS.Cloud.IrisAPI">
  <CustomerID>82F37AC1-B23E-483B-BF01-071941653E3A</CustomerID>
  <OperationName>4</OperationName>
  <OperationResult>VS</OperationResult>
  <Status>1</Status>
</MatchingResult>