Process Status
POST
https://mostvalid.com.br/process-image/content-extraction/status
statussituacao
Last modified:2024-07-26 18:00:04
Status#
status
field and their description. It can refer to the field, table cell, table header, or the document.Status | Description |
---|---|
MOSTQIIOCR | The item was not sent for review because its score did not match any of the client's defined rules, thus the data extraction performed is considered valid. |
MODIFIED | The item was sent for review as it was determined that it required validation according to the rules defined by the client, and its original value was modified by the reviewer. |
UNREADABLE | The item was sent for review because it was determined that it required validation according to the rules defined by the client, and its value was marked as illegible by the reviewer. |
REVIEWED | The item was sent for review as it was determined that it required validation according to the rules defined by the client, and its value was not modified by the reviewer. |
DEPRECATED | It is an item with a deprecated field name and will not be displayed in the mostValid Portal for analysis during the review task. It is recommended to consider the updated corresponding field names. Check the updated list of documents and their respective fields here. |
Request
Header Params
Authorization
string
required
Example:
Bearer {{bearer_token}}
Body Params application/json
processId
string
required
returnMostQiResponse
string
required
Example
{
"processId":"{{processID}}",
"returnMostQiResponse":"false"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mostvalid.com.br/process-image/content-extraction/status' \
--header 'Authorization: Bearer {{bearer_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"processId":"{{processID}}",
"returnMostQiResponse":"false"
}'
Responses
🟢200OK
application/json
Body
mostQIRequestId
string
required
operationId
string | null
optional
processId
string | null
optional
processStatus
string | null
optional
result
array [object {11}]
required
fields
array [object {6}] | null
optional
image
string <base64>
optional
type
string
optional
stdType
string
optional
pageNumber
integer
optional
tags
array[string]
optional
score
number <float>
optional
>= 0<= 1
tables
array [object {6}]
optional
crops
array [object {3}] | null
optional
processType
string
optional
status
string
optional
requestId
string
required
elapsedMilliseconds
integer
required
status
object
required
message
string | null
optional
code
string
required
errors
array [object {2}]
required
Example
{
"mostQIRequestId": "Fe9tFAPTssKztvMolpMJm",
"processStatus": "FINISHED",
"result": [
{
"fields": [
{
"name": "num_registro",
"stdName": null,
"value": "XXXXXXXXXXX",
"finalvalue": "XXXXXXXXXXXXX",
"score": 1,
"status": "MODIFIED"
},
{
"name": "data_emissao",
"stdName": null,
"value": "XXXX-XX-XX",
"finalvalue": "XX/XX/XXXX",
"score": 1,
"status": "MODIFIED"
},
{
"name": "data_validade",
"stdName": null,
"value": "XXXX-XX-XX",
"finalvalue": "XX/XX/XXXX",
"score": 1,
"status": "MODIFIED"
},
{
"name": "nome",
"stdName": null,
"value": "XXXXX XXXXXXX XXXXXXXX",
"finalvalue": "XXXXX XXXXXXX XXXXXXX",
"score": 0.99,
"status": "UNREADABLE"
},
{
"name": "filiacao_2",
"stdName": null,
"value": "XXXX XXXXXXXXXXXXX",
"finalvalue": "XXXX XXXXXXXXXXXXX",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "filiacao_1",
"stdName": null,
"value": "XXXXXX XXXXXXXX XXXXXXXX",
"finalvalue": "XXXXXX XXXXXXXX XXXXXXXX",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "naturalidade",
"stdName": null,
"value": "MG",
"finalvalue": "MG",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "nacionalidade",
"stdName": null,
"value": "BR",
"finalvalue": "BR",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "data_nascimento",
"stdName": null,
"value": "XXXX-XX-XX",
"finalvalue": "XXXX-XX-XX",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "pis_pasep",
"stdName": null,
"value": "XXXXXXXXXXX",
"finalvalue": "XXXXXXXXXXX",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "cpf",
"stdName": null,
"value": "XXXXXXXXXXX",
"finalvalue": "XXXXXXXXXXX",
"score": 1,
"status": "REVIEWED"
},
{
"name": "tipo_sanguineo",
"stdName": null,
"value": "O+",
"finalvalue": "O+",
"score": 0.95,
"status": "REVIEWED"
},
{
"name": "data_validade_amh",
"stdName": null,
"value": "Indeterminada",
"finalvalue": "Indeterminada",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "categoria",
"stdName": null,
"value": "TERCEIRO SARGENTO",
"finalvalue": "TERCEIRO SARGENTO",
"score": 0.99,
"status": "REVIEWED"
},
{
"name": "documento_origem",
"stdName": null,
"value": "XXXXX XXXXXX XXXX XXXXX SÃO LUIS - MA",
"finalvalue": "XXXXX XXXXXX XXXX XXXXX SÃO LUIS - MA",
"score": 0.99,
"status": "REVIEWED"
}
],
"image": null,
"type": "documento-pessoal",
"stdType": "personal-document",
"pageNumber": 1,
"tags": [
"id=bra-rg-marinha-2",
"country=bra",
"of=military",
"person=natural",
"subtype=identity",
"subtype=rg",
"language=pt-BR",
"process-type=extraction",
"region=verso",
"std-type=personal-document",
"type=documento-pessoal"
],
"score": 1,
"tables": [],
"processType": "extraction",
"status": "MODIFIED"
}
],
"requestId": "b8Zmn3M1AEOgSbssLO3as",
"elapsedMilliseconds": 15,
"status": {
"message": "Ok",
"code": "S100",
"errors": null
}
}
🟠400R321 Invalid Process Id
🔴500E100 The request could not be processed