POST api/Ocorrencia/GravarOcorrencia?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

Ocorrencia
NameDescriptionTypeAdditional information
CNPJ_REMETENTE_NFE

string

None.

NUMERO_NFE

integer

None.

SERIE_NFE

integer

None.

CHAVE_NFE

string

None.

CODIGO_OCO

string

None.

DATA_OCO

date

None.

HORA_OCO

string

None.

CANHOTO_NFE

string

None.

OBS_NFE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CNPJ_REMETENTE_NFE": "sample string 1",
  "NUMERO_NFE": 2,
  "SERIE_NFE": 3,
  "CHAVE_NFE": "sample string 4",
  "CODIGO_OCO": "sample string 5",
  "DATA_OCO": "2019-11-20T01:21:20.0374917-03:00",
  "HORA_OCO": "sample string 7",
  "CANHOTO_NFE": "sample string 8",
  "OBS_NFE": "sample string 9"
}

text/xml

Sample:
<Ocorrencia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RDCAPI.Models">
  <CANHOTO_NFE>sample string 8</CANHOTO_NFE>
  <CHAVE_NFE>sample string 4</CHAVE_NFE>
  <CNPJ_REMETENTE_NFE>sample string 1</CNPJ_REMETENTE_NFE>
  <CODIGO_OCO>sample string 5</CODIGO_OCO>
  <DATA_OCO>2019-11-20T01:21:20.0374917-03:00</DATA_OCO>
  <HORA_OCO>sample string 7</HORA_OCO>
  <NUMERO_NFE>2</NUMERO_NFE>
  <OBS_NFE>sample string 9</OBS_NFE>
  <SERIE_NFE>3</SERIE_NFE>
</Ocorrencia>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />