POST api/Pedido
Request Information
URI Parameters
None.
Body Parameters
InsertPedidoBindingModelName | Description | Type | Additional information |
---|---|---|---|
PedidoId | globally unique identifier |
Required |
|
TituloReceita | string |
Required |
|
EnderecoId | integer |
None. |
|
FilialId | integer |
None. |
|
ObservacoesAdicionais | string |
None. |
|
CanalId | integer |
Required |
|
Anexos | Collection of string |
None. |
|
TipoRetirada | integer |
None. |
|
Revenda | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PedidoId": "777c6247-fa87-41a3-9bbf-763cbc8cc530", "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:
<InsertPedidoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <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>777c6247-fa87-41a3-9bbf-763cbc8cc530</PedidoId> <Revenda>true</Revenda> <TipoRetirada>5</TipoRetirada> <TituloReceita>sample string 2</TituloReceita> </InsertPedidoBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.