Get Biller Subcategories
Overview
Description: This endpoint retrieves a list of subcategories with their details and associated categories
Endpoint: {base_url}/billit/subcategories
Additional Header Parameters
| # | Parameter | Value/Sample | Description |
|---|---|---|---|
| 1 | categoryId | 202304997 | categories.catid from the response gotten from get Biller categories. |
RESPONSE PARAMETER
| Parameter | Type | Description | Mandatory |
|---|---|---|---|
| count | Integer | Number of subcategories returned | Yes |
| error | String | Error message, if applicable | No |
| execTime | String | Execution time of the request | No |
| hasnext | Boolean | Indicates if there is a next page | Yes |
| hasprevious | Boolean | Indicates if there is a previous page | Yes |
| islast | Boolean | Indicates if this is the last page | Yes |
| limit | Integer | Maximum number of items per request | Yes |
| message | String | Additional message about the response | No |
| offset | Integer | Offset value for pagination | Yes |
| status | Integer | Status code of the response | Yes |
| subcategories | Array of Objects | List of subcategory details | Yes |
| subcategories.catId | Integer | Category ID associated with the subcategory | Yes |
| subcategories.description | String | Description of the subcategory | Yes |
| subcategories.id | Integer | Unique identifier for the subcategory | Yes |
| subcategories.subCategoryId | Integer | Unique identifier for the subcategory | Yes |
| subcategories.subCategoryName | String | Name of the subcategory | Yes |
| total | Integer | Total number of subcategories available | Yes |
GET / https://{base_url}/billit/subcategories
{
"count": 0,
"error": "string",
"execTime": "string",
"hasnext": true,
"hasprevious": true,
"islast": true,
"limit": 0,
"message": "string",
"offset": 0,
"status": 0,
"subcategories": [
{
"catId": 0,
"description": "string",
"id": 0,
"subCategoryId": 0,
"subCategoryName": "string"
}
],
"total": 0
}