MultiAddress Parsing [application/json]
POST
/process-text/multi-address-parsingLast modified: 5 months ago
Request
Header Params
Authorization
string
required
Token de autorização obtido no método Authentication/Authenticate
Example:
Bearer {{bearer_token}}
Body Params application/json
contents
array [object]
required
Conteúdo textual extraído previamente por meio de uma das seguintes rotas do mostQI: - Content Extraction - Invoice Extraction - Multipage Content Extraction
Example
{
"contents": []
}
Request samples
Responses
200 OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
result
object
required
contents
array [object {2}]
required
requestId
string
required
Código único de identificação da solicitação ao servidor, que será registrado no histórico de consumo dos serviços.
elapsedMilliseconds
integer
required
status
object
required
message
string
required
code
string
required
errors
null
required
Example
Sucesso - Example 1
{
"result": {
"contents": [
{
"index": 0,
"extractions": [
{
"source": null,
"sections": [
{
"name": null,
"groups": [
{
"name": "endereco",
"stdValue": "RUA PARANA, 340\nBAIRRO CENTRO\nCEP 85501074\nPATO BRANCO - PR - BRASIL",
"score": 1,
"components": [
{
"name": "cep",
"stdName": "postcode",
"value": "85501-074",
"stdValue": "85501074",
"score": 1
},
{
"name": "pais",
"stdName": "country",
"value": null,
"stdValue": "REPUBLICA FEDERATIVA DO BRASIL",
"score": null
},
{
"name": "estado",
"stdName": "state",
"value": "PR",
"stdValue": "PARANA",
"score": 1
},
{
"name": "cidade",
"stdName": "city",
"value": "PATO BRANCO",
"stdValue": "PATO BRANCO",
"score": 1
},
{
"name": "bairro",
"stdName": "suburb",
"value": "Centro",
"stdValue": "CENTRO",
"score": 1
},
{
"name": "logradouro",
"stdName": "place",
"value": "Rua Paraná",
"stdValue": "RUA PARANA",
"score": 1
},
{
"name": "rotulo",
"stdName": "label",
"value": null,
"stdValue": null,
"score": null
},
{
"name": "numero",
"stdName": "number",
"value": "340",
"stdValue": "340",
"score": 1
}
],
"secondaries": []
},
{
"name": "endereco_prestador",
"stdValue": "RUA ANA NERI, 416\nBAIRRO BENFICA\nCEP 20911442\nRIO DE JANEIRO - RJ - BRASIL",
"score": 1,
"components": [
{
"name": "cep",
"stdName": "postcode",
"value": "20911-442",
"stdValue": "20911442",
"score": 1
},
{
"name": "pais",
"stdName": "country",
"value": null,
"stdValue": "REPUBLICA FEDERATIVA DO BRASIL",
"score": null
},
{
"name": "estado",
"stdName": "state",
"value": "RJ",
"stdValue": "RIO DE JANEIRO",
"score": 1
},
{
"name": "cidade",
"stdName": "city",
"value": "RIO DE JANEIRO",
"stdValue": "RIO DE JANEIRO",
"score": 1
},
{
"name": "bairro",
"stdName": "suburb",
"value": "BENFICA",
"stdValue": "BENFICA",
"score": 1
},
{
"name": "logradouro",
"stdName": "place",
"value": "RUA ANA NERI",
"stdValue": "RUA ANA NERI",
"score": 1
},
{
"name": "rotulo",
"stdName": "label",
"value": null,
"stdValue": null,
"score": null
},
{
"name": "numero",
"stdName": "number",
"value": "416",
"stdValue": "416",
"score": 1
}
],
"secondaries": []
}
]
}
]
}
]
}
]
},
"requestId": "LmeEFuHfmkK1rtCJuovWh",
"elapsedMilliseconds": 529,
"status": {
"message": "Ok",
"code": "200",
"errors": null
}
}
Last modified: 5 months ago