The storage position ranges for the cloned samples can be given in the storagePositionRanges array, where the offset is the starting position in the storage position range and the limit is how many samples will be placed after the starting position. The total number of storage positions (the sum of limit) must be equal to cloneTimes. If no storage position ranges are specified, the cloned samples will not be added to a storage unit.
The quantity of the cloned samples can be changed using quantity amount and unit.
The trackParent parameter is a boolean indicating whether the original sample should be linked as parent to the clone sample(s).
example:
{
storagePositionRanges: [{
storageLayerID: 109061,
limit: 1,
offset: 2
}],
quantity: {
amount: 1,
unit: "KiloGram"
},
cloneTimes: 1,
trackParent: true
} 204The sample has been cloned
400The given parameters are wrong
401The user is not allowed to move the sample or the user is not allowed to move the sample to the given location
404Sample for the specified sampleID was not found or no permission to view the sample.