GET api/Content/v3/GetCustomerCategory?CustomerId={CustomerId}&languageId={languageId}&isAll={isAll}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| languageId | integer |
Default value is 1 |
|
| isAll | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
APICommonWrapperOfListOfCategoryList| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | Collection of CategoryList |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<APICommonWrapperOfArrayOfCategoryListZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<CategoryList>
<Id>1</Id>
<Name>sample string 2</Name>
</CategoryList>
<CategoryList>
<Id>1</Id>
<Name>sample string 2</Name>
</CategoryList>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfArrayOfCategoryListZdSfSp5S>