MOST Docs
mostQI APImostValid API
DEMO
  • Generative Content Extraction
  • Content Extraction
  • Multipage Content Extraction
  • Vio Extraction
  • Liveness
  • Facematch
  • Invoice Extraction
  • Address Parsing
  • License Plate
mostQI APImostValid API
DEMO
  • Generative Content Extraction
  • Content Extraction
  • Multipage Content Extraction
  • Vio Extraction
  • Liveness
  • Facematch
  • Invoice Extraction
  • Address Parsing
  • License Plate
Help Desk
MOST Linkedin
MOSTQI Instagram
MOST Youtube
pt-BR
en-US
pt-BR
en-US
  1. mostValid
  • Introdução
  • Consumindo a API
  • Características da API
  • Mensagens de erro
  • Material de Apoio
  • mostValid
    • Authenticate (Get JWT)
      POST
    • Content Extraction
      POST
    • Process Status
      POST
  • mostValid Generative
    • Generative Authenticate (Get JWT)
      POST
    • Generative Content Extraction
      POST
    • Generative Process Status
      POST
  1. mostValid

Process Status

POST
https://mostvalid.com.br/process-image/content-extraction/status
Última modificação:2024-08-09 13:16:03

Status#

Status do processo#

Abaixo tabela com os possíveis status do processo retornado no campo processStatus.
NomeDescrição
IN_PROCESSO arquivo enviado está sendo tipificado e processado para verificar se necessita de complementação.
WAITING_OPERATION_FINISHRepresenta que há uma operação (operation) em andamento e é necessário o envio de outro arquivo para que o processo continue ou seja finalizado.
CANCELEDRepresenta que o processo foi cancelado, em um fluxo de múltiplas requisições (operation), devido o processamento de algum outro arquivo em que não foi necessário gerar tarefa OU que houve a abertura de tarefa para outro processo da mesma operation.
ERRORIndica que ocorreu um erro durante uma ou mais etapas do processo.
TO_ANALYSISO arquivo necessita de complementação e está aguardando para ser analisado.
IN_ANALYSISO arquivo necessita de complementação e está sendo analisado por um complementador.
FINISHEDO arquivo foi analisado com sucesso e retornou o resultado, com complementação ou não.

Status dos atributos#

Lista de status retornados pelo campo status dos atributos e seus significados, onde contexto pode se referir ao campo, célula da tabela, cabeçalho da tabela ou o documento.
StatusDescrição
MOSTQIIOCRO item não foi enviado para validação pelo revisor, pois conforme as regras do cliente, a extração feita já é considerada válida.
MODIFIEDO item foi enviado para validação, pois foi verificado que ele necessitava de revisão, conforme as regras definidas pelo cliente, e o seu conteúdo original foi modificado pelo revisor.
UNREADABLEO item foi enviado para validação, pois foi verificado que ele necessitava de revisão, conforme as regras definidas pelo cliente; sendo marcado como ilegível pelo revisor.
REVIEWEDO item foi enviado para validação, pois foi verificado que ele necessitava de revisão, conforme as regras definidas pelo cliente, e o seu conteúdo original não foi modificado pelo revisor.
DEPRECATEDTrata-se de um item com nome do campo depreciado e que não será exibido no Portal mostValid para análise durante a tarefa de revisão. Recomenda-se considerar os nomes de campos correspondentes atualizados. Confira a listagem atualizada de documentos e respectivos campos aqui.

Requisição

Parâmetros Header

Parâmetros Bodyapplication/json

Exemplo
{
    "processId":"{{processID}}",
    "returnMostQiResponse":"false"
}

Códigos de solicitaçã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

Exemplo
{
    "mostQIRequestId": "aQT9nidO0Uu8dprwWHMsY",
    "operationId": "4c024a8c-c7e8-4bb4-9fa6-08304r278388",
    "processId": "818de69e-79c8-4re0-8d1b-f5b3c08459a9",
    "processStatus": "FINISHED",
    "result": [
        {
            "fields": [
                {
                    "name": "orgao_emissor",
                    "stdName": null,
                    "value": "Órgão de Trânsito",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "nome",
                    "stdName": null,
                    "value": "LORENA ROCHA",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "data_primeira_habilitacao",
                    "stdName": null,
                    "value": "2021-06-02",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "data_nascimento",
                    "stdName": null,
                    "value": "2001-03-08",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "local_nascimento",
                    "stdName": null,
                    "value": "BELO HORIZONTE/MG",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "data_emissao",
                    "stdName": null,
                    "value": "2022-06-07",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "data_validade",
                    "stdName": null,
                    "value": "2024-12-14",
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "tipo_habilitacao",
                    "stdName": null,
                    "value": "D",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "numero_espelho_frente",
                    "stdName": null,
                    "value": "603418220",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "rg",
                    "stdName": null,
                    "value": "MG11915200",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "doc",
                    "stdName": null,
                    "value": "MG11915200 SSP MG",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "cpf",
                    "stdName": null,
                    "value": "51643176480",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "registro",
                    "stdName": null,
                    "value": "67619610302",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "cat_hab",
                    "stdName": null,
                    "value": "B",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "nacionalidade",
                    "stdName": null,
                    "value": "BRASILEIRO",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "filiacao_2",
                    "stdName": null,
                    "value": "FELIPE SILVA ROCHA",
                    "finalValue": null,
                    "score": 0.99,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "filiacao_1",
                    "stdName": null,
                    "value": "LENA ROCHA",
                    "finalValue": null,
                    "score": 0.77,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "numero_espelho_verso",
                    "stdName": null,
                    "value": "1103412290",
                    "finalValue": null,
                    "score": 1,
                    "status": "MOSTQIIOCR"
                },
                {
                    "name": "observacoes",
                    "stdName": null,
                    "value": null,
                    "finalValue": "CNH",
                    "score": 0,
                    "status": "MODIFIED"
                },
                {
                    "name": "codigo_seguranca",
                    "stdName": null,
                    "value": null,
                    "finalValue": null,
                    "score": 0,
                    "status": "UNREADABLE"
                },
                {
                    "name": "local_uf",
                    "stdName": null,
                    "value": null,
                    "finalValue": "MG",
                    "score": 0,
                    "status": "REVIEWED"
                },
                {
                    "name": "local_cidade",
                    "stdName": null,
                    "value": null,
                    "finalValue": "Belo Horizonte",
                    "score": 0,
                    "status": "REVIEWED"
                },
                {
                    "name": "renach",
                    "stdName": null,
                    "value": null,
                    "finalValue": null,
                    "score": 0,
                    "status": "UNREADABLE"
                },
                {
                    "name": "estado_emissor",
                    "stdName": null,
                    "value": null,
                    "finalValue": "MG",
                    "score": 0,
                    "status": "REVIEWED"
                }
            ],
            "image": null,
            "type": "documento-pessoal",
            "stdType": "personal-document",
            "pageNumber": 1,
            "tags": [
                "id=bra-cnh-3",
                "country=bra",
                "person=natural",
                "subtype=cnh",
                "subtype=driving-license",
                "has=photo",
                "has=signature",
                "language=pt-BR",
                "process-type=extraction",
                "region=front",
                "region=top",
                "std-type=personal-document",
                "type=documento-pessoal"
            ],
            "score": 0.99,
            "tables": [],
            "processType": "taskspreader",
            "status": "MODIFIED"
        }
    ],
    "requestId": "tIPt5hzOok2RzakK87eli",
    "elapsedMilliseconds": 39,
    "status": {
        "message": "Ok",
        "code": "S100",
        "errors": null
    }
}
🟠400R300 Client isn't registered yet or has a invalid token
🟠401R321 Invalid Process Id
🔴500E100 The request could not be processed
Modificado em 2024-08-09 13:16:03
Página anterior
Content Extraction
Próxima página
mostValid Generative
Built with