GET api/Pedido/GetRecentes?dias={dias}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dias | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PedidoCabecalhoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| dhCreate | date |
None. |
|
| numeroPedidoErp | string |
None. |
|
| clienteNome | string |
None. |
|
| vendedorNome | string |
None. |
|
| valorTotal | decimal number |
Required |
|
| desconto | decimal number |
None. |
|
| linkCardClienteKey | globally unique identifier |
Required |
|
| statusNome | string |
None. |
|
| key | integer |
None. |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"dhCreate": "2025-12-22T05:49:31.3914164-03:00",
"numeroPedidoErp": "sample string 2",
"clienteNome": "sample string 3",
"vendedorNome": "sample string 4",
"valorTotal": 5.0,
"desconto": 6.0,
"linkCardClienteKey": "3b6c08e0-7b52-4558-85e4-2672ad515bb4",
"statusNome": "sample string 8",
"key": 9,
"id": 9,
"isNew": true
},
{
"dhCreate": "2025-12-22T05:49:31.3914164-03:00",
"numeroPedidoErp": "sample string 2",
"clienteNome": "sample string 3",
"vendedorNome": "sample string 4",
"valorTotal": 5.0,
"desconto": 6.0,
"linkCardClienteKey": "3b6c08e0-7b52-4558-85e4-2672ad515bb4",
"statusNome": "sample string 8",
"key": 9,
"id": 9,
"isNew": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPedidoCabecalhoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Linkcards.Webapi.Models.Pedido">
<PedidoCabecalhoDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">9</key>
<clienteNome>sample string 3</clienteNome>
<desconto>6</desconto>
<dhCreate>2025-12-22T05:49:31.3914164-03:00</dhCreate>
<linkCardClienteKey>3b6c08e0-7b52-4558-85e4-2672ad515bb4</linkCardClienteKey>
<numeroPedidoErp>sample string 2</numeroPedidoErp>
<statusNome>sample string 8</statusNome>
<valorTotal>5</valorTotal>
<vendedorNome>sample string 4</vendedorNome>
</PedidoCabecalhoDto>
<PedidoCabecalhoDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">9</key>
<clienteNome>sample string 3</clienteNome>
<desconto>6</desconto>
<dhCreate>2025-12-22T05:49:31.3914164-03:00</dhCreate>
<linkCardClienteKey>3b6c08e0-7b52-4558-85e4-2672ad515bb4</linkCardClienteKey>
<numeroPedidoErp>sample string 2</numeroPedidoErp>
<statusNome>sample string 8</statusNome>
<valorTotal>5</valorTotal>
<vendedorNome>sample string 4</vendedorNome>
</PedidoCabecalhoDto>
</ArrayOfPedidoCabecalhoDto>