este es un ejemplo de una respuesta de la API en cuestion:
{
"data": [
{
"comment": "",
"numberClients": 2,
"tableName": "1",
"registerId": 1,
"totalWithGratuity": 12254,
"registerName": "Caja AM",
"total": 11140,
"waiterId": 22,
"gratuity": 1114,
"zoneId": "ZB.010",
"discounts": 0,
"dateOpen": "2020-01-20T17:24:11",
"tableId": 10,
"zoneName": "Salón Principal",
"orderId": 4516808300506240,
"paymentForms": [
{
"amount": "12254,",
"name": "Tarjeta Debito,",
"id": 3000
}
],
"waiterName": "Luis Perez",
"difference": 0,
"subtotal": 9362,
"fiscalId": 7542,
"fiscalPrinter": null,
"fiscalAmt": 0,
"fiscalType": "BM",
"change": 0,
"tableCapaticy": 2,
"taxes": 1778,
"payed": 12254,
"products": [
{
"netPrice": 4340,
"name": "Gohan",
"taxes": 693,
"payed": 4340,
"discounts": 0,
"id": "2250",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Platos principales"
},
{
"netPrice": 3200,
"name": "Gyosas De Pollo",
"taxes": 511,
"payed": 3200,
"discounts": 0,
"id": "1650",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Platos principales"
},
{
"netPrice": 1800,
"name": "Nectar Watts",
"taxes": 287,
"payed": 1800,
"discounts": 0,
"id": "3490",
"quantity": 1,
"hierarchyId": "AB.090",
"hierarchyName": "Jugos"
},
{
"netPrice": 1800,
"name": "Nectar Watts",
"taxes": 287,
"payed": 1800,
"discounts": 0,
"id": "3490",
"quantity": 1,
"hierarchyId": "AB.090",
"hierarchyName": "Jugos"
}
],
"dateClosed": "2020-01-20T18:39:20",
"paymentId": 1579541034332622
},
{
"comment": "",
"numberClients": 1,
"tableName": "Virtual",
"registerId": 1,
"totalWithGratuity": 47180,
"registerName": "Caja AM",
"total": 44300,
"waiterId": 26,
"gratuity": 2880,
"zoneId": null,
"discounts": -15500,
"dateOpen": "2020-01-20T18:02:13",
"tableId": "V-10104",
"zoneName": null,
"orderId": 4684035874095104,
"paymentForms": [
{
"amount": 31680,
"name": "Tarjeta Debito",
"id": 3000
}
],
"waiterName": "delivery",
"difference": 0,
"subtotal": 39701,
"fiscalId": "7543",
"fiscalPrinter": null,
"fiscalAmt": 0,
"fiscalType": "BM",
"change": 0,
"tableCapaticy": null,
"taxes": 4599,
"payed": 31680,
"products": [
{
"netPrice": 6900,
"name": "Ebi Cheese Roll",
"taxes": 1102,
"payed": 6900,
"discounts": 0,
"id": "1510",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 6900,
"name": "Funghi roll",
"taxes": 1102,
"payed": 6900,
"discounts": 0,
"id": "4060",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 6200,
"name": "Ebi Panko roll",
"taxes": 990,
"payed": 6200,
"discounts": 0,
"id": "4090",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 0,
"name": "Chicken Chizu",
"taxes": 0,
"payed": 0,
"discounts": -5700,
"id": "1380",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 0,
"name": "California Ebi",
"taxes": 0,
"payed": 0,
"discounts": -4900,
"id": "1240",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 0,
"name": "Sesamo",
"taxes": 0,
"payed": 0,
"discounts": 0,
"id": "100",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 0,
"name": "California Sake",
"taxes": 0,
"payed": 0,
"discounts": -4900,
"id": "1270",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 0,
"name": "Ciboulette",
"taxes": 0,
"payed": 0,
"discounts": 0,
"id": "130",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 7300,
"name": "Sashimi Salmon 9 cortes",
"taxes": 1166,
"payed": 7300,
"discounts": 0,
"id": "1813",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 1500,
"name": "Recargo Insumos",
"taxes": 239,
"payed": 1500,
"discounts": 0,
"id": "3090",
"quantity": 1,
"hierarchyId": "AB.010",
"hierarchyName": "Otros"
}
],
"dateClosed": "2020-01-20T19:01:46",
"paymentId": 1579543259781326
},
{
"comment": "",
"numberClients": 1,
"tableName": "Virtual",
"registerId": 1,
"totalWithGratuity": 12200,
"registerName": "Caja AM",
"total": 12200,
"waiterId": 26,
"gratuity": 0,
"zoneId": null,
"discounts": 0,
"dateOpen": "2020-01-20T17:21:33",
"tableId": "V-10102",
"zoneName": null,
"orderId": 4751313818877952,
"paymentForms": [
{
"amount": 12200,
"name": "UBER EATS",
"id": 50004
}
],
"waiterName": "delivery",
"difference": 0,
"subtotal": 10252,
"fiscalId": 7539,
"fiscalPrinter": null,
"fiscalAmt": 0,
"fiscalType": "BM",
"change": 0,
"tableCapaticy": null,
"taxes": 1948,
"payed": 12200,
"products": [
{
"netPrice": 6200,
"name": "Avocado roll",
"taxes": 990,
"payed": 6200,
"discounts": 0,
"id": "4730",
"quantity": 1,
"hierarchyId": "AB.080",
"hierarchyName": "Sushi rolls"
},
{
"netPrice": 6000,
"name": "Sashimi de Salm\u00f3n 6 cortes",
"taxes": 958,
"payed": 6000,
"discounts": 0,
"id": "4590",
"quantity": 1,
"hierarchyId": "AB.050",
"hierarchyName": "Pescados"
}
],
"dateClosed": "2020-01-20T17:30:16",
"paymentId": 1579540854584126
}
],
"ok": true,
"msg": {
"texto": "RESTAURANT: Prueba, SALES SENT"
}
}