POST api/Service/GetTopItems
Request Information
URI Parameters
None.
Body Parameters
TopItemsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Input | TopItemsInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Input": {
"UserNo": 1
}
}
application/xml, text/xml
Sample:
<TopItemsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<Input>
<UserNo>1</UserNo>
</Input>
</TopItemsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TopItemsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OutPut | TopItemsOutPutModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"OutPut": {
"Success": true,
"Message": "sample string 2",
"TopItems": {
"TopItemsInfo": [
{
"ItemID": "sample string 1",
"ItemName": "sample string 2",
"TotalQty": 3,
"PrevQty": 4,
"ItemTypeNo": 5
},
{
"ItemID": "sample string 1",
"ItemName": "sample string 2",
"TotalQty": 3,
"PrevQty": 4,
"ItemTypeNo": 5
}
]
}
}
}
application/xml, text/xml
Sample:
<TopItemsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<OutPut>
<Message>sample string 2</Message>
<Success>true</Success>
<TopItems>
<TopItemsInfo>
<TopItemsModel>
<ItemID>sample string 1</ItemID>
<ItemName>sample string 2</ItemName>
<ItemTypeNo>5</ItemTypeNo>
<PrevQty>4</PrevQty>
<TotalQty>3</TotalQty>
</TopItemsModel>
<TopItemsModel>
<ItemID>sample string 1</ItemID>
<ItemName>sample string 2</ItemName>
<ItemTypeNo>5</ItemTypeNo>
<PrevQty>4</PrevQty>
<TotalQty>3</TotalQty>
</TopItemsModel>
</TopItemsInfo>
</TopItems>
</OutPut>
</TopItemsResponse>