GET /app/services/bill/by-service_id
Description
This endpoint returns all bills in the database by service_id
TIP
user authentication is required to access this information.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| service_id | string | service_id | yes |
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",
"service_id": "6b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"pay_type": "Card"
}
}