GET api/Pedido/GetRecentes?dias={dias}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dias

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PedidoCabecalhoDto
NameDescriptionTypeAdditional 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:27:41.3062728-03:00",
    "numeroPedidoErp": "sample string 2",
    "clienteNome": "sample string 3",
    "vendedorNome": "sample string 4",
    "valorTotal": 5.0,
    "desconto": 6.0,
    "linkCardClienteKey": "ef9eae7d-fc39-4b92-ae6d-f31034ffcc9b",
    "statusNome": "sample string 8",
    "key": 9,
    "id": 9,
    "isNew": true
  },
  {
    "dhCreate": "2025-12-22T05:27:41.3062728-03:00",
    "numeroPedidoErp": "sample string 2",
    "clienteNome": "sample string 3",
    "vendedorNome": "sample string 4",
    "valorTotal": 5.0,
    "desconto": 6.0,
    "linkCardClienteKey": "ef9eae7d-fc39-4b92-ae6d-f31034ffcc9b",
    "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:27:41.3062728-03:00</dhCreate>
    <linkCardClienteKey>ef9eae7d-fc39-4b92-ae6d-f31034ffcc9b</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:27:41.3062728-03:00</dhCreate>
    <linkCardClienteKey>ef9eae7d-fc39-4b92-ae6d-f31034ffcc9b</linkCardClienteKey>
    <numeroPedidoErp>sample string 2</numeroPedidoErp>
    <statusNome>sample string 8</statusNome>
    <valorTotal>5</valorTotal>
    <vendedorNome>sample string 4</vendedorNome>
  </PedidoCabecalhoDto>
</ArrayOfPedidoCabecalhoDto>