GET api/MOT/GetCategoryTopSales?strDate={strDate}&intMode={intMode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| strDate | string |
Required |
|
| intMode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TopSales| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| y | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"y": 2.0
},
{
"name": "sample string 1",
"y": 2.0
}
]
application/xml, text/xml
Sample:
<ArrayOfTopSales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<TopSales>
<name>sample string 1</name>
<y>2</y>
</TopSales>
<TopSales>
<name>sample string 1</name>
<y>2</y>
</TopSales>
</ArrayOfTopSales>