GET api/Subcategories/{clientid}/{id}
Returns a list of subcategories in a provided category
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientid | integer |
Required |
|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SubcategoryInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| subcategory_id |
Subcategory Id |
integer |
None. |
| subcategory_name |
Subcategory Name |
string |
None. |
| category_id |
Category Id |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"subcategory_id": 1,
"subcategory_name": "sample string 2",
"category_id": 3
},
{
"subcategory_id": 1,
"subcategory_name": "sample string 2",
"category_id": 3
}
]