GET v1/Emitente/Obter/{id}?cnpj_cpf={cnpj_cpf}&uf={uf}&cidade_id={cidade_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| cnpj_cpf | string |
None. |
|
| uf | string |
None. |
|
| cidade_id | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
EmitenteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| emitente_id | integer |
Required |
|
| razao | string |
Required String length: inclusive between 5 and 60 |
|
| fantasia | string |
String length: inclusive between 0 and 60 |
|
| cpf | string |
Required String length: inclusive between 11 and 14 |
|
| ie | string |
Required String length: inclusive between 5 and 14 |
|
| logradouro | string |
Required String length: inclusive between 2 and 60 |
|
| numero | string |
Required String length: inclusive between 1 and 60 |
|
| complemento | string |
String length: inclusive between 0 and 60 |
|
| bairro | string |
Required String length: inclusive between 2 and 60 |
|
| cep | string |
Required String length: inclusive between 8 and 8 |
|
| cidade_id | integer |
Required |
|
| fone | string |
String length: inclusive between 0 and 14 |
|
| string |
Matching regular expression pattern: ^((?!\.)[\w-_.]*[^.])(@\w+)(\.\w+(\.\w+)?[^.\W])$ String length: inclusive between 0 and 60 |
||
| usuario_id | integer |
Required |
|
| certificado_digital | string |
None. |
|
| senha_certificado | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"emitente_id": 1,
"razao": "sample string 2",
"fantasia": "sample string 3",
"cpf": "sample string 4",
"ie": "sample string 5",
"logradouro": "sample string 6",
"numero": "sample string 7",
"complemento": "sample string 8",
"bairro": "sample string 9",
"cep": "sample string 10",
"cidade_id": 1,
"fone": "sample string 11",
"email": "sample string 12",
"usuario_id": 13,
"certificado_digital": "sample string 14",
"senha_certificado": "sample string 15"
}