Gets all storage transfers from Restolution. The transfers are returned as an array of Transfers. The endpoint mimics the parameters and data in Transfer Summary Report in Restolution.
Transfer
The transfers returned by the "getTransfers" method are objects of "Transfer" which contains the rows of the transfer as an array of TransferRows.
clientUUID - globally unique identifier of the Restolution client that this transfer belongs to (a type 4 UUID as specified by RFC 4122)
transferDate - timestamp when this transfer took place and affected the storage values
verifiedDate - timestamp when this transfer was verified
fromBusinessUnitUUID - globally unique identifier of the Restolution business unit that this transfer reduced (a type 4 UUID as specified by RFC 4122)
toBusinessUnitUUID - globally unique identifier of the Restolution business unit that this transfer added to (a type 4 UUID as specified by RFC 4122)
fromStorageName - name of the storage that this transfer reduced
toStorageName - name of the storage that this transfer added to
userName - name of user who created this transfer
verifier - name of user who verified this transfer
status - the status of this transfer, can be one of IN_PROGRESS, DONE, VERIFIED.
comment - a comment about this transfer
transferRows - array of transfer rows
TransferRow
The transfer rows contain on article level the quantities and purchase prices of the transfer.
articleUUID - globally unique identifier for this transfer row's article (a type 4 UUID as specified by RFC 4122)
articleName - article name of this transfer row's article
storageArticleID - storage article ID of this transfer row's storage article
quantity - the SI unit quantity of the article of this transfer row in 1/1000 parts
quantityInBaseUnits - the baseunit quantity of the article of this transfer row in 1/1000 parts
baseUnit - the base unit of this transfer row's article, e.g. a bottle, BTL.
baseUnitInSIUnits - base unit in SI units, e.g. how many grams in a kilogram. Note that this defaults to 1 for all units that can have different sizes, in 1/1000 parts.
purchasePriceWithTax - The purchase price of a base unit of this transfer row's article including tax
purchaseTax - The purchase tax percentage applied to the purchase of this transfer row's article. Given as a whole number, e.g 24% is given as 24.
parameters:
dateFrom - get transfers that have transfer date equal to or later than this date. This parameter is required.
dateUntil - get transfers that have transfer date equal to or earlier than this date.
businessUnitUUIDs - optional list of business unit UUID's whose transfers (from or to) should be included. If this parameter is not given, the transfers of all business units will be included.
getTransfers
Gets all storage transfers from Restolution. The transfers are returned as an array of Transfers. The endpoint mimics the parameters and data in Transfer Summary Report in Restolution.
Transfer
The transfers returned by the "getTransfers" method are objects of "Transfer" which contains the rows of the transfer as an array of TransferRows.
clientUUID
- globally unique identifier of the Restolution client that this transfer belongs to (a type 4 UUID as specified by RFC 4122)transferDate
- timestamp when this transfer took place and affected the storage valuesverifiedDate
- timestamp when this transfer was verifiedfromBusinessUnitUUID
- globally unique identifier of the Restolution business unit that this transfer reduced (a type 4 UUID as specified by RFC 4122)toBusinessUnitUUID
- globally unique identifier of the Restolution business unit that this transfer added to (a type 4 UUID as specified by RFC 4122)fromStorageName
- name of the storage that this transfer reducedtoStorageName
- name of the storage that this transfer added touserName
- name of user who created this transferverifier
- name of user who verified this transferstatus
- the status of this transfer, can be one of IN_PROGRESS, DONE, VERIFIED.comment
- a comment about this transfertransferRows
- array of transfer rowsTransferRow
The transfer rows contain on article level the quantities and purchase prices of the transfer.
articleUUID
- globally unique identifier for this transfer row's article (a type 4 UUID as specified by RFC 4122)articleName
- article name of this transfer row's articlestorageArticleID
- storage article ID of this transfer row's storage articlequantity
- the SI unit quantity of the article of this transfer row in 1/1000 partsquantityInBaseUnits
- the baseunit quantity of the article of this transfer row in 1/1000 partsbaseUnit
- the base unit of this transfer row's article, e.g. a bottle, BTL.baseUnitInSIUnits
- base unit in SI units, e.g. how many grams in a kilogram. Note that this defaults to 1 for all units that can have different sizes, in 1/1000 parts.purchasePriceWithTax
- The purchase price of a base unit of this transfer row's article including taxpurchaseTax
- The purchase tax percentage applied to the purchase of this transfer row's article. Given as a whole number, e.g 24% is given as 24.parameters:
dateFrom
- get transfers that have transfer date equal to or later than this date. This parameter is required.dateUntil
- get transfers that have transfer date equal to or earlier than this date.businessUnitUUIDs
- optional list of business unit UUID's whose transfers (from or to) should be included. If this parameter is not given, the transfers of all business units will be included.response:
transfers
- array of Transfer objectssample request:
sample response: