POST Api/OrdemVendaDiretaCabecalho

Request Information

URI Parameters

None.

Body Parameters

OrdemVendaDiretaCabecalhoModel
NameDescriptionTypeAdditional information
Entidade

string

Required

ContaCliente

string

Required

VendaId

string

Required

UnidadeOperacionalId

string

Required

CondicaoPagamentoId

string

Required

MetodoPagamento

string

Required

Instancia

integer

Required

TipoOperacao

string

Required

PerfilLancamento

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Entidade": "sample string 1",
  "ContaCliente": "sample string 2",
  "VendaId": "sample string 3",
  "UnidadeOperacionalId": "sample string 4",
  "CondicaoPagamentoId": "sample string 5",
  "MetodoPagamento": "sample string 6",
  "Instancia": 7,
  "TipoOperacao": "sample string 8",
  "PerfilLancamento": "sample string 9"
}

application/xml, text/xml

Sample:
<OrdemVendaDiretaCabecalhoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiDynamics.Models">
  <CondicaoPagamentoId>sample string 5</CondicaoPagamentoId>
  <ContaCliente>sample string 2</ContaCliente>
  <Entidade>sample string 1</Entidade>
  <Instancia>7</Instancia>
  <MetodoPagamento>sample string 6</MetodoPagamento>
  <PerfilLancamento>sample string 9</PerfilLancamento>
  <TipoOperacao>sample string 8</TipoOperacao>
  <UnidadeOperacionalId>sample string 4</UnidadeOperacionalId>
  <VendaId>sample string 3</VendaId>
</OrdemVendaDiretaCabecalhoModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.