GET /app/services/bill/by-type
Description
This endpoint returns all bills in the database by type
TIP
user admin authentication is required to access this information.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| type | string | type | yes |
| page | string | page | no |
| limit | string | limit | no |
Response
json
{
"bills": {
"bill_id": 1,
"bill_target": "6b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"user_id": "1",
"amount": 35.0,
"date": "2022-03-23T22:00:00.000Z",
"description": "recolección dee medicamentos",
"type": 1,
"status": 1,
"getId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
}
}