POST api/Lookup/UpdateCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CatID | integer |
None. |
|
| CatNameEN | string |
None. |
|
| CatNameAR | string |
None. |
|
| ShowInSearch | boolean |
None. |
|
| ShowInSiteMenu | boolean |
None. |
|
| SubCategoryID | string |
None. |
|
| Param2 | string |
None. |
|
| Param3 | string |
None. |
|
| Param4 | string |
None. |
|
| Param5 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CatID": 1,
"CatNameEN": "sample string 2",
"CatNameAR": "sample string 3",
"ShowInSearch": true,
"ShowInSiteMenu": true,
"SubCategoryID": "sample string 6",
"Param2": "sample string 7",
"Param3": "sample string 8",
"Param4": "sample string 9",
"Param5": "sample string 10"
}
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServiceProject.Models"> <CatID>1</CatID> <CatNameAR>sample string 3</CatNameAR> <CatNameEN>sample string 2</CatNameEN> <Param2>sample string 7</Param2> <Param3>sample string 8</Param3> <Param4>sample string 9</Param4> <Param5>sample string 10</Param5> <ShowInSearch>true</ShowInSearch> <ShowInSiteMenu>true</ShowInSiteMenu> <SubCategoryID>sample string 6</SubCategoryID> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |