GET api/unitedweb/getAllCategory
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
APIDataResponseOfListOfCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| status | string |
None. |
|
| data | Collection of Category |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"status": "sample string 3",
"data": [
{
"categoryId": 1,
"categoryName": "sample string 2",
"categoryImage": "sample string 3",
"parent": 1,
"status": 1
},
{
"categoryId": 1,
"categoryName": "sample string 2",
"categoryImage": "sample string 3",
"parent": 1,
"status": 1
}
]
}
application/xml, text/xml
Sample:
<APIDataResponseOfArrayOfCategoryAmpdAh_Se xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<code>1</code>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Entity">
<d2p1:Category>
<d2p1:categoryId>1</d2p1:categoryId>
<d2p1:categoryImage>sample string 3</d2p1:categoryImage>
<d2p1:categoryName>sample string 2</d2p1:categoryName>
<d2p1:parent>1</d2p1:parent>
<d2p1:status>1</d2p1:status>
</d2p1:Category>
<d2p1:Category>
<d2p1:categoryId>1</d2p1:categoryId>
<d2p1:categoryImage>sample string 3</d2p1:categoryImage>
<d2p1:categoryName>sample string 2</d2p1:categoryName>
<d2p1:parent>1</d2p1:parent>
<d2p1:status>1</d2p1:status>
</d2p1:Category>
</data>
<message>sample string 2</message>
<status>sample string 3</status>
</APIDataResponseOfArrayOfCategoryAmpdAh_Se>