GET a/PosStaffItemSales/GetItemSalesForStaff?start={start}&end={end}&posIdentifier={posIdentifier}
Get sales information for the report period and specified staff member, grouped by item.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| start |
Report start time |
date |
Required |
| end |
Report end time |
date |
Required |
| posIdentifier |
Staff member identifier |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Summary of sales for this staff member
Collection of PosItemsStaffSalesSummaryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffName |
Gets or sets the Staff Member's name |
string |
None. |
| StaffPosIdentifier |
Gets or sets the POS specific identifier for this staff member |
string |
None. |
| ItemName |
Gets or set the Name of the Item |
string |
None. |
| ItemPosIdentifier |
Gets or sets the POS specific identifier of this item |
string |
None. |
| ItemGroupName |
Gets or sets the Item Group Name |
string |
None. |
| ItemGroupIdentifier |
Gets or sets the POS specific identifier of the item group |
string |
None. |
| ItemCategoryName |
Gets or sets the Item Category name |
string |
None. |
| ItemCategoryIdentifier |
Gets or sets the POS specific identifier of the item category |
string |
None. |
| Invoices |
Gets or sets the total dollar amount invoiced for this item |
decimal number |
None. |
| Quantity |
Gets or sets the quantity of this item that was sold |
decimal number |
None. |
Response Formats
application/json, text/json
[
{
"staffName": "sample string 1",
"staffPosIdentifier": "sample string 2",
"itemName": "sample string 3",
"itemPosIdentifier": "sample string 4",
"itemGroupName": "sample string 5",
"itemGroupIdentifier": "sample string 6",
"itemCategoryName": "sample string 7",
"itemCategoryIdentifier": "sample string 8",
"invoices": 9.0,
"quantity": 10.1
},
{
"staffName": "sample string 1",
"staffPosIdentifier": "sample string 2",
"itemName": "sample string 3",
"itemPosIdentifier": "sample string 4",
"itemGroupName": "sample string 5",
"itemGroupIdentifier": "sample string 6",
"itemCategoryName": "sample string 7",
"itemCategoryIdentifier": "sample string 8",
"invoices": 9.0,
"quantity": 10.1
}
]
application/xml, text/xml
<ArrayOfPosItemsStaffSalesSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.POS.Items">
<PosItemsStaffSalesSummaryDTO>
<Invoices>9</Invoices>
<ItemCategoryIdentifier>sample string 8</ItemCategoryIdentifier>
<ItemCategoryName>sample string 7</ItemCategoryName>
<ItemGroupIdentifier>sample string 6</ItemGroupIdentifier>
<ItemGroupName>sample string 5</ItemGroupName>
<ItemName>sample string 3</ItemName>
<ItemPosIdentifier>sample string 4</ItemPosIdentifier>
<Quantity>10.1</Quantity>
<StaffName>sample string 1</StaffName>
<StaffPosIdentifier>sample string 2</StaffPosIdentifier>
</PosItemsStaffSalesSummaryDTO>
<PosItemsStaffSalesSummaryDTO>
<Invoices>9</Invoices>
<ItemCategoryIdentifier>sample string 8</ItemCategoryIdentifier>
<ItemCategoryName>sample string 7</ItemCategoryName>
<ItemGroupIdentifier>sample string 6</ItemGroupIdentifier>
<ItemGroupName>sample string 5</ItemGroupName>
<ItemName>sample string 3</ItemName>
<ItemPosIdentifier>sample string 4</ItemPosIdentifier>
<Quantity>10.1</Quantity>
<StaffName>sample string 1</StaffName>
<StaffPosIdentifier>sample string 2</StaffPosIdentifier>
</PosItemsStaffSalesSummaryDTO>
</ArrayOfPosItemsStaffSalesSummaryDTO>