GET a/CogsProducts/GetCogsDetail?start={start}&end={end}

Get cogs products report

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

Start date for the report

date

Required

end

End date for the report

date

Required

Body Parameters

None.

Response Information

Resource Description

Cogs products report

Collection of CogsProductDTO
NameDescriptionTypeAdditional information
PosItemIdentifier

Gets or sets the pos item identifier

string

None.

PosItemName

Gets or sets the pos item name

string

None.

PosItemGroupIdentifier

Gets or sets the pos item group identifier

string

None.

PosItemGroupName

Gets or sets the pos item group name

string

None.

PosItemCategoryIdentifier

Gets or sets the pos item category identifier

string

None.

PosItemCategoryName

Gets or sets the pos item category name

string

None.

QuantitySold

Gets or sets the quantity sold

decimal number

None.

SalesExcludeTax

Gets or sets the sales exclude tax

decimal number

None.

Cost

Gets or sets the cost of goods

decimal number

None.

Discounts

Gets or sets the discounts.

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "posItemIdentifier": "sample string 1",
    "posItemName": "sample string 2",
    "posItemGroupIdentifier": "sample string 3",
    "posItemGroupName": "sample string 4",
    "posItemCategoryIdentifier": "sample string 5",
    "posItemCategoryName": "sample string 6",
    "quantitySold": 7.1,
    "salesExcludeTax": 8.0,
    "cost": 1.0,
    "discounts": 9.0
  },
  {
    "posItemIdentifier": "sample string 1",
    "posItemName": "sample string 2",
    "posItemGroupIdentifier": "sample string 3",
    "posItemGroupName": "sample string 4",
    "posItemCategoryIdentifier": "sample string 5",
    "posItemCategoryName": "sample string 6",
    "quantitySold": 7.1,
    "salesExcludeTax": 8.0,
    "cost": 1.0,
    "discounts": 9.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfCogsProductDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.Cogs">
  <CogsProductDTO>
    <Cost>1</Cost>
    <Discounts>9</Discounts>
    <PosItemCategoryIdentifier>sample string 5</PosItemCategoryIdentifier>
    <PosItemCategoryName>sample string 6</PosItemCategoryName>
    <PosItemGroupIdentifier>sample string 3</PosItemGroupIdentifier>
    <PosItemGroupName>sample string 4</PosItemGroupName>
    <PosItemIdentifier>sample string 1</PosItemIdentifier>
    <PosItemName>sample string 2</PosItemName>
    <QuantitySold>7.1</QuantitySold>
    <SalesExcludeTax>8</SalesExcludeTax>
  </CogsProductDTO>
  <CogsProductDTO>
    <Cost>1</Cost>
    <Discounts>9</Discounts>
    <PosItemCategoryIdentifier>sample string 5</PosItemCategoryIdentifier>
    <PosItemCategoryName>sample string 6</PosItemCategoryName>
    <PosItemGroupIdentifier>sample string 3</PosItemGroupIdentifier>
    <PosItemGroupName>sample string 4</PosItemGroupName>
    <PosItemIdentifier>sample string 1</PosItemIdentifier>
    <PosItemName>sample string 2</PosItemName>
    <QuantitySold>7.1</QuantitySold>
    <SalesExcludeTax>8</SalesExcludeTax>
  </CogsProductDTO>
</ArrayOfCogsProductDTO>