Skip to main content
POST
Create Children Samples

Authorizations

Authorization
string
header
required

Personal access token from Scispot Account → Personal Tokens

Body

application/json
labsheet
string
required

The name of the labsheet where the parent sample is located.

parent
string
required

The ID of the parent sample.

children
object[]
required

The array of children samples to create.

waitRefresh
boolean

Optional. Waits for the data to be reindexed before returning a success. This will add up to 1 second of latency to the requests, so only use this flag if there is a need to query this item again.

idType
string

Optional. Identifier type used to resolve the parent/children.

destinationLabsheet
string

Optional. Labsheet to create the children in, if different from the parent's labsheet. If not provided, the children will be created in the same labsheet as the parent.

Response

OK

success
boolean
ids
string[]