Process Status
POST
https://mostvalid.com.br/process-image/content-extraction/status
statussituacao
Última modificação: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. |
Requisição
Parâmetros Header
Authorization
string
requerido
Exemplo:
Bearer {{bearer_token}}
Parâmetros Bodyapplication/json
processId
string
requerido
returnMostQiResponse
string
requerido
Exemplo
{
"processId":"{{processID}}",
"returnMostQiResponse":"false"
}
Exemplos de Requisição
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"
}'
Respostas
🟢200OK
application/json
Body
mostQIRequestId
string
requerido
operationId
string | null
opcional
processId
string | null
opcional
processStatus
string | null
opcional
result
array [object {11}]
requerido
fields
array [object {6}] | null
opcional
image
string <base64>
opcional
type
string
opcional
stdType
string
opcional
pageNumber
integer
opcional
tags
array[string]
opcional
score
number <float>
opcional
>= 0<= 1
tables
array [object {6}]
opcional
crops
array [object {3}] | null
opcional
processType
string
opcional
status
string
opcional
requestId
string
requerido
elapsedMilliseconds
integer
requerido
status
object
requerido
message
string | null
opcional
code
string
requerido
errors
array [object {2}]
requerido
Exemplo
{
"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
Modificado em 2024-07-26 18:00:04