Get Bill Bundles
Overview
Description: This endpoint retrieves a list of bundles with detailed information
Endpoint: {base_url}/billit/bundles
RESPONSE PARAMETER
| # | Parameter | Type | Description | Mandatory |
|---|---|---|---|---|
| 1 | bundleDtos | Array of Objects | List of bundle details | Yes |
| 2 | bundleDtos.amount | Integer | Amount associated with the bundle | Yes |
| 3 | bundleDtos.bundleid | Integer | Unique identifier for the bundle | Yes |
| 4 | bundleDtos.description | String | Description of the bundle | No |
| 5 | bundleDtos.name | String | Name of the bundle | Yes |
| 6 | count | Integer | Number of bundles returned | Yes |
| 7 | error | String | Error message if applicable | No |
| 8 | execTime | String | Execution time of the request | No |
| 9 | hasnext | Boolean | Indicates if there is a next page | Yes |
| 10 | hasprevious | Boolean | Indicates if there is a previous page | Yes |
| 11 | islast | Boolean | Indicates if this is the last page | Yes |
| 12 | limit | Integer | Maximum number of items per request | Yes |
| 13 | message | String | Additional message about the response | No |
| 14 | offset | Integer | Offset value for pagination | Yes |
| 15 | status | Integer | Status code of the response | Yes |
| 16 | total | Integer | Total number of bundles available | Yes |
SAMPLE RESPONSE
GET {base_url}/bundles
{
"bundleDtos": [
{
"amount": 0,
"bundleid": 0,
"description": "string",
"name": "string"
}
],
"count": 0,
"error": "string",
"execTime": "string",
"hasnext": true,
"hasprevious": true,
"islast": true,
"limit": 0,
"message": "string",
"offset": 0,
"status": 0,
"total": 0
}