POST TopSellingItems/Get
Gets the Top Selling Item.
Request Information
This method supports OData queries.
URI Parameters
None.
Body Parameters
The Top Selling Item request.
Top Selling Item Request ModelName | Type | Additional information | Description |
---|---|---|---|
FromDate | date |
None. |
Gets or sets From Date. |
ToDate | date |
None. |
Gets or sets To Date. |
IncludeOption | bool |
None. |
Gets or sets a value indicating the dashboard widget's boolean value. |
ViewTop | integer |
None. |
Gets or sets the View Top. |
Request Formats
application/json, text/json
Sample:
{ "IncludeOption": true, "ViewTop": 2, "FromDate": "2024-11-15", "ToDate": "2024-11-15" }
Response Information
Resource Description
This collection is wrapped in a paging response object.
Paging response of Top Selling ItemName | Type | Additional information | Description |
---|---|---|---|
TotalResults | integer |
None. |
|
ReturnedResults | integer |
None. |
|
Results | Collection of Top Selling Item |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalResults": 1, "ReturnedResults": 2, "Results": [ { "ItemId": 1, "Description": "sample string 2", "Exclusive": 3.0, "Total": 4.0, "Quantity": 5.0 }, { "ItemId": 1, "Description": "sample string 2", "Exclusive": 3.0, "Total": 4.0, "Quantity": 5.0 } ] }