Search

getPOSShifts

Returns day openings and closings.

Input parameters

Parameter nameDescriptionPossible valueRequired
shiftIDShift ID.Integer
warehouseIDWarehouse ID.Integer
pointOfSaleIDPoint of sale ID.Integer
openedUnixTimeFromUnix timestampp
openedUnixTimeUntilUnix timestamp
closedUnixTimeFromUnix timestamp
closedUnixTimeUntilUnix timestamp
searchAttributeNameSearch from attribute name. searchAttributeName and searchAttributeValue have to be specified bothString
searchAttributeValueSearch from attribute valueString

Response

Field nameTypeDescription
shiftIDIntegerShift ID.
warehouseIDIntegerWarehouse ID.
warehouseNameStringWarehouse name.
pointOfSaleIDIntegerPoint of sale ID.
pointOfSaleNameStringPoint of sale name.
openedUnixTimeUnix timestampOpening timestamp.
openedByEmployeeIDIntegerEmployee opening the day.
openedByEmployeeNameStringEmployee opening the day.
openedSumDecimalTotal amount of cash in register at opening time.
closedUnixTimeUnix timestampClosing timestamp.
closedByEmployeeIDIntegerEmployee closing the day.
closedByEmployeeNameStringEmployee closing the day.
closedSumDecimalTotal amount of money left in register.
bankedSumDecimalTotal amount of money removed from register and deposited.
notesStringNotes.
reasonIDIntegerID of cash variance reason. See getReasonCodes for various reason codes.
attributesArrayList of additional attributes. Each array element looks like this:

Field nameTypeDescription
attributeNameStringAttribute name
attributeTypeStringAttribute type
attributeValueStringAttribute value