POST api/InsertCadEmpresaNFeCompleto
Request Information
URI Parameters
None.
Body Parameters
EnviarArquivosName | Description | Type | Additional information |
---|---|---|---|
BancoDados | string |
None. |
|
CodEmpresa | integer |
None. |
|
ArquivoXml | string |
None. |
|
Token | string |
None. |
|
Nota | NotasFiscais |
None. |
|
Evento | Eventos |
None. |
Request Formats
application/json, text/json
Sample:
{ "BancoDados": "sample string 1", "CodEmpresa": 2, "ArquivoXml": "sample string 3", "Token": "sample string 4", "Nota": { "Notificacoes": [ { "Tipo": 1, "DataHora": "2025-04-03T18:55:24.0700154-03:00", "Mensagem": "sample string 3" }, { "Tipo": 1, "DataHora": "2025-04-03T18:55:24.0700154-03:00", "Mensagem": "sample string 3" } ], "Status": 1, "Cnpj": "sample string 2", "Chave": "sample string 3", "Modelo": "sample string 4", "Serie": "sample string 5", "Numero": 6, "DataEmissao": "2025-04-03T18:55:24.0700154-03:00", "Nome": "sample string 8", "ValorDocumento": "sample string 9", "CaminhoDisco": "sample string 10" }, "Evento": { "TipoEvento": 1, "ModeloNotaFiscal": "sample string 2", "CaminhoDisco": "sample string 3", "nProt": "sample string 4", "DataCompetencia": "2025-04-03T18:55:24.0700154-03:00", "DataLocalizacao": "2025-04-03T18:55:24.0700154-03:00", "Arquivo": "sample string 7" } }
application/xml, text/xml
Sample:
<EnviarArquivos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MakroArquivosAPI.Modelos"> <ArquivoXml>sample string 3</ArquivoXml> <BancoDados>sample string 1</BancoDados> <CodEmpresa>2</CodEmpresa> <Evento> <Arquivo>sample string 7</Arquivo> <CaminhoDisco>sample string 3</CaminhoDisco> <DataCompetencia>2025-04-03T18:55:24.0700154-03:00</DataCompetencia> <DataLocalizacao>2025-04-03T18:55:24.0700154-03:00</DataLocalizacao> <ModeloNotaFiscal>sample string 2</ModeloNotaFiscal> <TipoEvento>1</TipoEvento> <nProt>sample string 4</nProt> </Evento> <Nota> <CaminhoDisco>sample string 10</CaminhoDisco> <Chave>sample string 3</Chave> <Cnpj>sample string 2</Cnpj> <DataEmissao>2025-04-03T18:55:24.0700154-03:00</DataEmissao> <Modelo>sample string 4</Modelo> <Nome>sample string 8</Nome> <Notificacoes> <Notificacoes> <DataHora>2025-04-03T18:55:24.0700154-03:00</DataHora> <Mensagem>sample string 3</Mensagem> <Tipo>1</Tipo> </Notificacoes> <Notificacoes> <DataHora>2025-04-03T18:55:24.0700154-03:00</DataHora> <Mensagem>sample string 3</Mensagem> <Tipo>1</Tipo> </Notificacoes> </Notificacoes> <Numero>6</Numero> <Serie>sample string 5</Serie> <Status>1</Status> <ValorDocumento>sample string 9</ValorDocumento> </Nota> <Token>sample string 4</Token> </EnviarArquivos>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>