Skip to main content
POST
Link Samples to Test in Labflow

Authorizations

Authorization
string
header
required

Personal access token from Scispot Account → Personal Tokens

Body

application/json
labflowId
string
required

The id of the labflow that contains the test.

protocoltemplateId
string
required

The id of the protocol template (test) to link the samples to.

sampleUuids
string[]
required

The uuids of the samples to link to the test.

A single sample uuid.

sampleEntityUuid
string

(Optional) The uuid of the entity/labsheet the samples belong to, used to disambiguate the samples when needed.

Response

OK

success
boolean
message
string
performTestStepId
string
protocoltemplateId
string
samplesLinked
integer
testResults
object