GET a/PosStaffVoids/GetTopStaffVoids?start={start}&end={end}

Get the top void reason amounts for each staff member with voids in the report period

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 top void type

Collection of PosVoidsStaffSummaryDTO
NameDescriptionTypeAdditional information
StaffName

Gets or sets the staff name

string

None.

StaffPosIdentifier

Gets or sets the staff POS identifier

string

None.

VoidReason

Gets or sets the void type / reason

string

None.

VoidQuantity

Gets or sets the number of items voided

decimal number

None.

VoidAmount

Gets or sets the dollar amount voided

decimal number

None.

WasteQuantity

Gets or sets the number of items wasted

decimal number

None.

WasteAmount

Gets or sets the dollar amount wasted

decimal number

None.

Transactions

Gets or sets the number of transacitons voided

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "staffName": "sample string 1",
    "staffPosIdentifier": "sample string 2",
    "voidReason": "sample string 3",
    "voidQuantity": 1.1,
    "voidAmount": 1.0,
    "wasteQuantity": 1.1,
    "wasteAmount": 1.0,
    "transactions": 1.0
  },
  {
    "staffName": "sample string 1",
    "staffPosIdentifier": "sample string 2",
    "voidReason": "sample string 3",
    "voidQuantity": 1.1,
    "voidAmount": 1.0,
    "wasteQuantity": 1.1,
    "wasteAmount": 1.0,
    "transactions": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfPosVoidsStaffSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.POS.Voids">
  <PosVoidsStaffSummaryDTO>
    <Transactions>1</Transactions>
    <VoidAmount>1</VoidAmount>
    <VoidQuantity>1.1</VoidQuantity>
    <VoidReason>sample string 3</VoidReason>
    <WasteAmount>1</WasteAmount>
    <WasteQuantity>1.1</WasteQuantity>
    <StaffName>sample string 1</StaffName>
    <StaffPosIdentifier>sample string 2</StaffPosIdentifier>
  </PosVoidsStaffSummaryDTO>
  <PosVoidsStaffSummaryDTO>
    <Transactions>1</Transactions>
    <VoidAmount>1</VoidAmount>
    <VoidQuantity>1.1</VoidQuantity>
    <VoidReason>sample string 3</VoidReason>
    <WasteAmount>1</WasteAmount>
    <WasteQuantity>1.1</WasteQuantity>
    <StaffName>sample string 1</StaffName>
    <StaffPosIdentifier>sample string 2</StaffPosIdentifier>
  </PosVoidsStaffSummaryDTO>
</ArrayOfPosVoidsStaffSummaryDTO>