POST api/Helps/SetHelpCategory
Request Information
URI Parameters
None.
Body Parameters
SetHelpCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategoryCode | string |
None. |
|
| ParenPaths | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ParentId": 1,
"CategoryName": "sample string 1",
"CategoryCode": "sample string 2",
"ParenPaths": [
1,
2
]
}
application/xml, text/xml
Sample:
<SetHelpCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Document.Dto.Helps">
<CategoryCode>sample string 2</CategoryCode>
<CategoryName>sample string 1</CategoryName>
<Id>1</Id>
<ParenPaths xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ParenPaths>
<ParentId>1</ParentId>
</SetHelpCategoryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>true</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOfboolean>