Histórico da Página
| Nota |
|---|
Api em construção e sujeita a alterações |
Fluxo de utilização de API
draw.io Diagram border true diagramName fluxo_api_informe simpleViewer false width links auto tbstyle top lbox true diagramWidth 760 revision 1
| border | true |
|---|---|
| diagramName | fluxo_api_informe |
| simpleViewer | false |
| width | |
| links | auto |
| tbstyle | top |
| lbox | true |
| diagramWidth | 760 |
| revision | 1 |
Endpoint: Consulta de
...
Informe
...
Caminho: /informe
Método: GET
Content Type: JSON (application/json) ou PDF (application/pdf)
- Será alterado dependendo do header Accept
QueryString:
- numeroDocumento: CPF ou CNPJ cliente
- competencia: competência (MMAAAA)
- periodo: A (anual), T (trimestral), M (mensal)
...
Retornos
| Painel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
200 - Ok Content Type: application/json Corpo
|
| Painel | |||||
|---|---|---|---|---|---|
| |||||
40X - Erro: Requisição Content Type: application/json Corpo:
|
| Painel | |||||
|---|---|---|---|---|---|
| |||||
500 - Erro Interno Content Type: application/json Corpo:
|
Consulta Status Importação
Endpoint: /informe/importacao
Método: GET
Content Type: JSON
QueryString:
- nomeArq: nome do arquivo
| Expandir | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Corpo
Retornos 202 - Aceito: Processamento assíncrono Iniciado Content Type: text/plain A DEFINIR 40X - Erro: Requisição Content Type: application/json Corpo:
500 - Erro Interno Content Type: application/json Corpo:
|
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas