POST api/pedido/insert

Request Information

URI Parameters

None.

Body Parameters

PedidoInsertInput
NameDescriptionTypeAdditional information
PedidoId

string

None.

TituloReceita

string

None.

EnderecoId

integer

None.

FilialId

integer

None.

ObservacoesAdicionais

string

None.

CanalId

integer

None.

Anexos

Collection of string

None.

TipoRetirada

integer

None.

Revenda

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PedidoId": "sample string 1",
  "TituloReceita": "sample string 2",
  "EnderecoId": 1,
  "FilialId": 1,
  "ObservacoesAdicionais": "sample string 3",
  "CanalId": 4,
  "Anexos": [
    "sample string 1",
    "sample string 2"
  ],
  "TipoRetirada": 5,
  "Revenda": true
}

application/xml, text/xml

Sample:
<PedidoInsertInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input">
  <Anexos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Anexos>
  <CanalId>4</CanalId>
  <EnderecoId>1</EnderecoId>
  <FilialId>1</FilialId>
  <ObservacoesAdicionais>sample string 3</ObservacoesAdicionais>
  <PedidoId>sample string 1</PedidoId>
  <Revenda>true</Revenda>
  <TipoRetirada>5</TipoRetirada>
  <TituloReceita>sample string 2</TituloReceita>
</PedidoInsertInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.