POST api/ekyc/ocr-recognition

Request Information

URI Parameters

None.

Body Parameters

OcrRequest
NameDescriptionTypeAdditional information
image

string

None.

request_id

string

None.

confident_thr

decimal number

None.

id_full_thr

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "image": "sample string 1",
  "request_id": "sample string 2",
  "confident_thr": 3.1,
  "id_full_thr": 4.1
}

text/html

Sample:
{"image":"sample string 1","request_id":"sample string 2","confident_thr":3.1,"id_full_thr":4.1}

application/xml, text/xml

Sample:
<OcrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MB.VNNIC.API.Controllers">
  <confident_thr>3.1</confident_thr>
  <id_full_thr>4.1</id_full_thr>
  <image>sample string 1</image>
  <request_id>sample string 2</request_id>
</OcrRequest>

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 'OcrRequest'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />