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.

numeroPedidoFormatado

string

None.

estabelecimento

string

None.

estabelecimentoNome

string

None.

naturezaOprNome

string

None.

key

integer

None.

id

integer

None.

isNew

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "dhCreate": "2025-12-22T05:47:30.1290829-03:00",
    "numeroPedidoErp": "sample string 2",
    "clienteNome": "sample string 3",
    "vendedorNome": "sample string 4",
    "valorTotal": 5.0,
    "desconto": 6.0,
    "linkCardClienteKey": "440af233-88ec-4426-a369-1c0d8e3619d2",
    "statusNome": "sample string 8",
    "numeroPedidoFormatado": "sample string 9",
    "estabelecimento": "sample string 10",
    "estabelecimentoNome": "sample string 11",
    "naturezaOprNome": "sample string 12",
    "key": 13,
    "id": 13,
    "isNew": true
  },
  {
    "dhCreate": "2025-12-22T05:47:30.1290829-03:00",
    "numeroPedidoErp": "sample string 2",
    "clienteNome": "sample string 3",
    "vendedorNome": "sample string 4",
    "valorTotal": 5.0,
    "desconto": 6.0,
    "linkCardClienteKey": "440af233-88ec-4426-a369-1c0d8e3619d2",
    "statusNome": "sample string 8",
    "numeroPedidoFormatado": "sample string 9",
    "estabelecimento": "sample string 10",
    "estabelecimentoNome": "sample string 11",
    "naturezaOprNome": "sample string 12",
    "key": 13,
    "id": 13,
    "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">13</key>
    <clienteNome>sample string 3</clienteNome>
    <desconto>6</desconto>
    <dhCreate>2025-12-22T05:47:30.1290829-03:00</dhCreate>
    <estabelecimento>sample string 10</estabelecimento>
    <estabelecimentoNome>sample string 11</estabelecimentoNome>
    <linkCardClienteKey>440af233-88ec-4426-a369-1c0d8e3619d2</linkCardClienteKey>
    <naturezaOprNome>sample string 12</naturezaOprNome>
    <numeroPedidoErp>sample string 2</numeroPedidoErp>
    <numeroPedidoFormatado>sample string 9</numeroPedidoFormatado>
    <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">13</key>
    <clienteNome>sample string 3</clienteNome>
    <desconto>6</desconto>
    <dhCreate>2025-12-22T05:47:30.1290829-03:00</dhCreate>
    <estabelecimento>sample string 10</estabelecimento>
    <estabelecimentoNome>sample string 11</estabelecimentoNome>
    <linkCardClienteKey>440af233-88ec-4426-a369-1c0d8e3619d2</linkCardClienteKey>
    <naturezaOprNome>sample string 12</naturezaOprNome>
    <numeroPedidoErp>sample string 2</numeroPedidoErp>
    <numeroPedidoFormatado>sample string 9</numeroPedidoFormatado>
    <statusNome>sample string 8</statusNome>
    <valorTotal>5</valorTotal>
    <vendedorNome>sample string 4</vendedorNome>
  </PedidoCabecalhoDto>
</ArrayOfPedidoCabecalhoDto>