GET r/PosItemCategorySales?start={start}&end={end}
Get sales information for the report period, grouped by item category.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| start |
start of report period |
date |
Required |
| end |
end of report period |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Summary information on the report period
Collection of PosSalesSummaryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Label |
Gets or sets the Label for this data row |
string |
None. |
| Id |
Gets or sets the Id for this data row |
string |
None. |
| Quantity |
Gets or sets the Quantity or count for this data row |
decimal number |
None. |
| Invoices |
Gets or sets the Total invoices for this data row |
decimal number |
None. |
| InvoiceTax |
Sales tax on invoices |
decimal number |
None. |
| Discounts |
Gets or sets the total discounts for this data row. |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"label": "sample string 1",
"id": "sample string 2",
"quantity": 1.1,
"invoices": 3.0,
"invoiceTax": 4.0,
"discounts": 5.0
},
{
"label": "sample string 1",
"id": "sample string 2",
"quantity": 1.1,
"invoices": 3.0,
"invoiceTax": 4.0,
"discounts": 5.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPosSalesSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.POS">
<PosSalesSummaryDTO>
<Discounts>5</Discounts>
<Id>sample string 2</Id>
<InvoiceTax>4</InvoiceTax>
<Invoices>3</Invoices>
<Label>sample string 1</Label>
<Quantity>1.1</Quantity>
</PosSalesSummaryDTO>
<PosSalesSummaryDTO>
<Discounts>5</Discounts>
<Id>sample string 2</Id>
<InvoiceTax>4</InvoiceTax>
<Invoices>3</Invoices>
<Label>sample string 1</Label>
<Quantity>1.1</Quantity>
</PosSalesSummaryDTO>
</ArrayOfPosSalesSummaryDTO>