概要
API URL:
/api/v1/zoloz/facecompare/asynccheckresultAPI の説明: ZOLOZ 顔照合 asynccheckresult API は、顔照合結果を非同期的に取得するために使用されます。 この API を呼び出すときは、asynccompare API から返されたトランザクション ID を渡す必要があります。
リクエスト
フィールド仕様
名前 | タイプ | 最大長 | 必須 | 説明 | サンプル値 |
transactionId | 文字列 | 64B | true | asynccompare API から返されたトランザクション ID。 | "G000000005FID2020030400000000000157****" |
リクエストサンプル
POST /api/v1/zoloz/facecompare/asynccheckresult HTTP/1.1Content-Type: application/json; charset=UTF-8Client-Id: 5X67656YXXXXXX
Request-Time: 2024-01-04T12:08:56+05:30Signature: algorithm=RSA256, signature=xxxxxxxxxxxx
{
"transactionId": "G000000005FID2020030400000000000157****"}レスポンス
フィールド仕様
名前 | タイプ | 必須 | 値の範囲 | 説明 | サンプル値 |
result.resultCode | 文字列 | true | 結果コード | "SUCCESS" | |
result.resultStatus | 文字列 | true | 結果ステータス | "S" | |
result.resultMessage | 文字列 | true | 結果メッセージ | "success" | |
transactionId | 文字列 | true | トランザクション ID 注: システムは、トランザクションが処理段階に入った後にのみ
| "G000000005FID20200304000000000001570702" | |
face1ImageQualityResult | 文字列 | true | 顔 1 の画質結果。
注: | "PASS" | |
face2ImageQualityResult | 文字列 | true | 顔 2 の画質結果。
注: | "PASS" | |
score | double | true | (0.0, 100.0) | 顔照合スコア | 88.2 |
samePerson | boolean | true | true, false | 2 つの顔がアルゴリズムに基づいて同一人物かどうか | true |
結果
名前 | タイプ | 必須 | 値の範囲 | 説明 | サンプル値 |
resultCode | 文字列 | true | 結果コード | "SUCCESS" | |
resultStatus | 文字列 | true | "S": 成功 "F": 失敗 | 結果ステータス | "S" |
resultMessage | 文字列 | true | 結果の説明 | "success" |
"resultCode" のビジネスレベルでの値の範囲:
resultCode | 説明 |
INVALID_ARGUMENT |
|
PROCESSING | 処理中です。 |
UNABLE_GET_IMAGE |
|
SUCCESS | face1 と face2 が同一人物を示しているかどうかに関係なく、比較結果が正常に返されます。 |
SYSTEM_ERROR | その他の内部エラー。 |
レスポンスサンプル
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8Response-Time: 2024-01-19T21:56:15-0800Signature: algorithm=RSA256, signature=xxxxxxxxxxxxxxxxxx
{
"transactionId": "G000000005FID2020030400000000000157****",
"face1ImageQualityResult":"PASS",
"face2ImageQualityResult":"PASS",
"score": 88.2,
"samePerson": true,
"result": {
"resultCode":"SUCCESS",
"resultStatus":"S",
"resultMessage":"Success" }
}