POST TopSellingItemsByValueOnHand/Get

Gets the Top Selling Items by Value based on the request model sent through.

Request Information

This method supports OData queries.

URI Parameters

None.

Body Parameters

The TopSellingItemByValueOnHand Request Model.

Top Selling Item By Value On Hand Request Model
NameTypeAdditional informationDescription
RunAtDate date

None.

UseLastCost bool

None.

ViewTop integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RunAtDate": "2021-10-19",
  "UseLastCost": true,
  "ViewTop": 3
}

Response Information

Resource Description

The top (amount) of items by value on hand.

This collection is wrapped in a paging response object.

Paging response of Top Selling Item By Value On Hand
NameTypeAdditional informationDescription
TotalResults integer

None.

ReturnedResults integer

None.

Results Collection of Top Selling Item By Value On Hand

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalResults": 1,
  "ReturnedResults": 2,
  "Results": [
    {
      "ItemId": 1,
      "Description": "sample string 2",
      "QuantityOnHand": 3.0,
      "AverageCost": 4.0,
      "ValueOnHand": 5.0
    },
    {
      "ItemId": 1,
      "Description": "sample string 2",
      "QuantityOnHand": 3.0,
      "AverageCost": 4.0,
      "ValueOnHand": 5.0
    }
  ]
}