POST Api/OrdemVendaContratoLinha

Request Information

URI Parameters

None.

Body Parameters

OrdemVendaContratoLinhaModel
NameDescriptionTypeAdditional information
Entidade

string

Required

ContratoId

string

Required

ItemId

string

Required

ItemQuantidade

decimal number

Required

UnidadeOperacionalId

string

Required

BoletoId

string

Required

NumeroLinha

decimal number

Required

CNAE

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Entidade": "sample string 1",
  "ContratoId": "sample string 2",
  "ItemId": "sample string 3",
  "ItemQuantidade": 4.1,
  "UnidadeOperacionalId": "sample string 5",
  "BoletoId": "sample string 6",
  "NumeroLinha": 7.1,
  "CNAE": "sample string 8"
}

application/xml, text/xml

Sample:
<OrdemVendaContratoLinhaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiDynamics.Models">
  <BoletoId>sample string 6</BoletoId>
  <CNAE>sample string 8</CNAE>
  <ContratoId>sample string 2</ContratoId>
  <Entidade>sample string 1</Entidade>
  <ItemId>sample string 3</ItemId>
  <ItemQuantidade>4.1</ItemQuantidade>
  <NumeroLinha>7.1</NumeroLinha>
  <UnidadeOperacionalId>sample string 5</UnidadeOperacionalId>
</OrdemVendaContratoLinhaModel>

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 'OrdemVendaContratoLinhaModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.