GET api/User/GetCategoryItems?vendorid={vendorid}&schoolid={schoolid}&date={date}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
vendorid | integer |
Required |
|
schoolid | integer |
Required |
|
date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoriesName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
name | string |
None. |
|
description | string |
None. |
|
pic | string |
None. |
|
displayorder | integer |
None. |
|
active | boolean |
None. |
|
type | string |
None. |
|
items | Collection of Items |
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, "active": true, "type": "sample string 5", "items": [ { "$id": "2", "id": 1, "name": "sample string 2", "description": "sample string 3", "price": 1.0, "pic": "sample string 4", "vendorid": 1, "categoryid": 1, "category": "sample string 5", "subcategory": "sample string 6", "uom": "sample string 7", "displayorder": 1 }, { "$ref": "2" } ] }, { "$ref": "1" } ]