POST api/get/managecategory
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| ImgUrl | string |
None. |
|
| populate | integer |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"ImgUrl": "sample string 2",
"populate": 3,
"Id": 4
}
application/xml, text/xml
Sample:
<Modal.Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VeggieMart.Models"> <Id>4</Id> <ImgUrl>sample string 2</ImgUrl> <Name>sample string 1</Name> <populate>3</populate> </Modal.Category>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>