GET api/ops/GetCategories?vendorid={vendorid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vendorid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Category| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| description | string |
None. |
|
| pic | string |
None. |
|
| displayorder | integer |
None. |
|
| type | string |
None. |
|
| has_subcategory | boolean |
None. |
|
| parentid | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"pic": "sample string 4",
"displayorder": 1,
"type": "sample string 5",
"has_subcategory": true,
"parentid": 1
},
{
"$ref": "1"
}
]