GET a/PosStaffSales/GetSales?start={start}&end={end}

Get sales information for the report period, grouped by staff member.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

Report start time

date

Required

end

Report end time

date

Required

Body Parameters

None.

Response Information

Resource Description

List of staff members and their sales summaries

Collection of PosSalesSummaryDTO
NameDescriptionTypeAdditional 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>