Creates one or more clones of a sample

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
}    
Path Params
int32
required
Body Params
int32
boolean
quantity
object
date-time
storagePositionRanges
array of objects
storagePositionRanges
boolean
Headers
string
Defaults to Swagger
Responses
204

The sample has been cloned

400

The given parameters are wrong

401

The user is not allowed to move the sample or the user is not allowed to move the sample to the given location

404

Sample for the specified sampleID was not found or no permission to view the sample.

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here!