POST GravaPedidoVenda
Request Information
URI Parameters
None.
Body Parameters
vendaPedido| Name | Description | Type | Additional information |
|---|---|---|---|
| IdEmpresa | integer |
None. |
|
| IdFilial | integer |
None. |
|
| IdCliente | integer |
None. |
|
| IdCartao | integer |
None. |
|
| IdFunc | integer |
None. |
|
| IDVendedor | integer |
None. |
|
| DtEmissao | date |
None. |
|
| Desconto | decimal number |
None. |
|
| Obs | string |
None. |
|
| Entrega | string |
None. |
|
| Hora | string |
None. |
|
| IdPedido | integer |
None. |
|
| IdFormaPag | integer |
None. |
|
| VendaItens | Collection of vendaitem |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdEmpresa": 1,
"IdFilial": 2,
"IdCliente": 3,
"IdCartao": 4,
"IdFunc": 5,
"IDVendedor": 6,
"DtEmissao": "2025-12-06T13:42:18.2225142-03:00",
"Desconto": 8.0,
"Obs": "sample string 9",
"Entrega": "sample string 10",
"Hora": "sample string 11",
"IdPedido": 12,
"IdFormaPag": 13,
"VendaItens": [
{
"IdEmpresa": 1,
"IdPedido": 2,
"Ord": 3,
"IdProduto": 4,
"Quant": 5.0,
"VlrUnit": 6.0,
"PreVenda": 7.0,
"VlrDesc": 8.0,
"VlrTotal": 9.0
},
{
"IdEmpresa": 1,
"IdPedido": 2,
"Ord": 3,
"IdProduto": 4,
"Quant": 5.0,
"VlrUnit": 6.0,
"PreVenda": 7.0,
"VlrDesc": 8.0,
"VlrTotal": 9.0
}
]
}
application/xml, text/xml
Sample:
<vendaPedido xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SysEmpresaApi.Models">
<Desconto>8</Desconto>
<DtEmissao>2025-12-06T13:42:18.2225142-03:00</DtEmissao>
<Entrega>sample string 10</Entrega>
<Hora>sample string 11</Hora>
<IDVendedor>6</IDVendedor>
<IdCartao>4</IdCartao>
<IdCliente>3</IdCliente>
<IdEmpresa>1</IdEmpresa>
<IdFilial>2</IdFilial>
<IdFormaPag>13</IdFormaPag>
<IdFunc>5</IdFunc>
<IdPedido>12</IdPedido>
<Obs>sample string 9</Obs>
<VendaItens>
<vendaitem>
<IdEmpresa>1</IdEmpresa>
<IdPedido>2</IdPedido>
<IdProduto>4</IdProduto>
<Ord>3</Ord>
<PreVenda>7</PreVenda>
<Quant>5</Quant>
<VlrDesc>8</VlrDesc>
<VlrTotal>9</VlrTotal>
<VlrUnit>6</VlrUnit>
</vendaitem>
<vendaitem>
<IdEmpresa>1</IdEmpresa>
<IdPedido>2</IdPedido>
<IdProduto>4</IdProduto>
<Ord>3</Ord>
<PreVenda>7</PreVenda>
<Quant>5</Quant>
<VlrDesc>8</VlrDesc>
<VlrTotal>9</VlrTotal>
<VlrUnit>6</VlrUnit>
</vendaitem>
</VendaItens>
</vendaPedido>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |