POST api/Category/category
Request Information
URI Parameters
None.
Body Parameters
GetAllCategoryListDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserType | integer |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserType": 1,
"UserId": "sample string 2"
}
application/xml, text/xml
Sample:
<GetAllCategoryListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models.Dto"> <UserId>sample string 2</UserId> <UserType>1</UserType> </GetAllCategoryListDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AjaxResultEntityOfSxoAttachmentCategoryList| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Msg | string |
None. |
|
| Data | SxoAttachmentCategoryList |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Msg": "sample string 2",
"Data": {
"attachment_category": [
{
"id": "sample string 1",
"pid": "sample string 2",
"icon": "sample string 3",
"name": "sample string 4",
"path": "sample string 5",
"sort": "sample string 6",
"is_enable": "sample string 7",
"items": [
{},
{}
]
},
{
"id": "sample string 1",
"pid": "sample string 2",
"icon": "sample string 3",
"name": "sample string 4",
"path": "sample string 5",
"sort": "sample string 6",
"is_enable": "sample string 7",
"items": [
{},
{}
]
}
]
}
}
application/xml, text/xml
Sample:
<AjaxResultEntityOfSxoAttachmentCategoryListNctk906D xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models.View">
<d2p1:attachment_category>
<d2p1:SxoAttachmentCategory>
<d2p1:icon>sample string 3</d2p1:icon>
<d2p1:id>sample string 1</d2p1:id>
<d2p1:is_enable>sample string 7</d2p1:is_enable>
<d2p1:items xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:anyType />
<d5p1:anyType />
</d2p1:items>
<d2p1:name>sample string 4</d2p1:name>
<d2p1:path>sample string 5</d2p1:path>
<d2p1:pid>sample string 2</d2p1:pid>
<d2p1:sort>sample string 6</d2p1:sort>
</d2p1:SxoAttachmentCategory>
<d2p1:SxoAttachmentCategory>
<d2p1:icon>sample string 3</d2p1:icon>
<d2p1:id>sample string 1</d2p1:id>
<d2p1:is_enable>sample string 7</d2p1:is_enable>
<d2p1:items xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:anyType />
<d5p1:anyType />
</d2p1:items>
<d2p1:name>sample string 4</d2p1:name>
<d2p1:path>sample string 5</d2p1:path>
<d2p1:pid>sample string 2</d2p1:pid>
<d2p1:sort>sample string 6</d2p1:sort>
</d2p1:SxoAttachmentCategory>
</d2p1:attachment_category>
</Data>
<IsSuccess>true</IsSuccess>
<Msg>sample string 2</Msg>
</AjaxResultEntityOfSxoAttachmentCategoryListNctk906D>