Skip to main content
PUT
/
api
/
customer
/
{customerId}
/
document
/
{documentId}
/
face-compare
updateFaceCompareResult
curl --request PUT \
  --url https://api.artemis.cynopsis.co/api/customer/{customerId}/document/{documentId}/face-compare \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Domain-ID: <x-domain-id>' \
  --data '{
  "result": {
    "error": "<string>",
    "matched": true,
    "simiarity": 0.97788
  },
  "status": "<string>",
  "task_id": "<string>",
  "status_task": "<string>"
}'
{
  "id": 123,
  "timestamp": "<string>",
  "status": 123,
  "error": "<string>",
  "exception": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Domain-ID
integer
required

X-Domain-ID

Path Parameters

customerId
integer
required

customerId

documentId
integer
required

documentId

Body

application/json

FaceCompareResultDto

result
object
status
string
task_id
string
status_task
string

Response

OK

id
integer
timestamp
string
status
integer
error
string
exception
string
message
string