Home

Série 1

Páginas filhas
  • Billing

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

{
"total": 16039,
"hasNext": true,
"lines": [
{
"id": ".06.2013",
"parcel": "",
"movementType": "D",
"type": "8",
"issue": "20130605",
"expiration": "20130605",
"personId": "000195",
"person": "FUNCIONARIOS",
"value": 15958.66,
"serial": "",
"paid": 0
},
{
"id": "000000001",
"parcel": "",
"movementType": "D",
"type": "1",
"issue": "20120927",
"expiration": "20120927",
"personId": "000014",
"person": "KAPERSUL IND E COM DE PAPEIS SA",
"value": 11484.17,
"serial": "U",
"paid": 0
},
{
"id": "000000001",
"parcel": "",
"movementType": "D",
"type": "8",
"issue": "20120927",
"expiration": "20120927",
"personId": "000014",
"person": "KAPERSUL IND E COM DE PAPEIS SA",
"value": 23542.53,
"serial": "REN",
"paid": 0
}
]

Exemplo 4: Retornando títulos filtrados de acordo com a descrição

localhost/Billing?description=galpao

{

"total": 142,
"hasNext": false,
"syncing": false,
"lines": [
{
"id": "AT0000001",
"parcel": "01",
"movementType": "D",
"type": "8",
"description": "AUTO:GALPAO - PRINCIPAL",
"issue": "20140925",
"expiration": "20140916",
"personId": "000181",
"person": "BANCO DO BRASIL SA",
"value": 1473.18,
"serial": "",
"paid": 0
},
{
"id": "AT0000001",
"parcel": "02",
"movementType": "D",
"type": "8",
"description": "AUTO:GALPAO - PRINCIPAL",
"issue": "20140925",
"expiration": "20141016",
"personId": "000181",
"person": "BANCO DO BRASIL SA",
"value": 1473.18,
"serial": "",
"paid": 0
},
{
"id": "AT0000001",
"parcel": "03",
"movementType": "D",
"type": "8",
"description": "AUTO:GALPAO - PRINCIPAL",
"issue": "20140925",
"expiration": "20141116",
"personId": "000181",
"person": "BANCO DO BRASIL SA",
"value": 1473.18,
"serial": "",
"paid": 0
}
]

 

Exemplo 5: Retornando a página 20 com 3 registros por página

...