GET api/MSDKMasterCategory?parentCategoryNo={parentCategoryNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| parentCategoryNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
WebApiResult2OfListOfMasterCategoryInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ExMsg | string |
None. |
|
| ExStackTrace | string |
None. |
|
| ResultModel | Collection of MasterCategoryInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ExMsg": "sample string 2",
"ExStackTrace": "sample string 3",
"ResultModel": [
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2",
"CategoryDepth": 3,
"ChildCategory": [
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2"
},
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2"
}
]
},
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2",
"CategoryDepth": 3,
"ChildCategory": [
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2"
},
{
"CategoryNo": "sample string 1",
"CategoryName": "sample string 2"
}
]
}
]
}
application/xml, text/xml
Sample:
<WebApiResult2OfArrayOfMasterCategoryInfoC7sHJjZs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileSDKModel.Models">
<ExMsg>sample string 2</ExMsg>
<ExStackTrace>sample string 3</ExStackTrace>
<Response>sample string 4</Response>
<ResultModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/MasterMatcherLib">
<d2p1:MasterCategoryInfo>
<d2p1:CategoryDepth>3</d2p1:CategoryDepth>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
<d2p1:ChildCategory>
<d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
</d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
</d2p1:MasterCategoryInfo.ChildCategoryInfo>
</d2p1:ChildCategory>
</d2p1:MasterCategoryInfo>
<d2p1:MasterCategoryInfo>
<d2p1:CategoryDepth>3</d2p1:CategoryDepth>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
<d2p1:ChildCategory>
<d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
</d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:MasterCategoryInfo.ChildCategoryInfo>
<d2p1:CategoryName>sample string 2</d2p1:CategoryName>
<d2p1:CategoryNo>sample string 1</d2p1:CategoryNo>
</d2p1:MasterCategoryInfo.ChildCategoryInfo>
</d2p1:ChildCategory>
</d2p1:MasterCategoryInfo>
</ResultModel>
<Success>true</Success>
<Url>sample string 5</Url>
</WebApiResult2OfArrayOfMasterCategoryInfoC7sHJjZs>