POST api/v1/avicultura/nfe/intercoperacao

Request Information

URI Parameters

None.

Requires Authorization!

Roles:

Body Parameters

NfeIntercoperacaoDto
NameDescriptionTypeAdditional information
PdfNfeIntercoperacao

Collection of byte

None.

Tipo

string

None.

Lote

integer

None.

Aviario

integer

None.

Carga

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PdfNfeIntercoperacao": "QEA=",
  "Tipo": "sample string 1",
  "Lote": 2,
  "Aviario": 3,
  "Carga": 4
}

application/xml, text/xml

Sample:
<NfeIntercoperacaoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lar.SicopPlus.Core.Entities.DTOs">
  <Aviario>3</Aviario>
  <Carga>4</Carga>
  <Lote>2</Lote>
  <PdfNfeIntercoperacao>QEA=</PdfNfeIntercoperacao>
  <Tipo>sample string 1</Tipo>
</NfeIntercoperacaoDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NfeIntercoperacaoDto'.

Response Information

Resource Description

ResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lar.Entities.Ep">
  <Data>true</Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
</ResultOfboolean>