Assigning Samples to Workflows
Code example
Step 1. Define Assignment Endpoint URI
// Define the assignment endpoint URI
assignmentOrderURI = "http://${hostname}/api/v2/route/artifacts/" Step 2. Retrieve the Samples' Base Artifact URIs
// Retrieve the samples' base artifact URIs
sampleAArtifactURI = GLSRestApiUtils.httpGET(sampleURIs[0], username, password).'artifact'.@uri
sampleBArtifactURI = GLSRestApiUtils.httpGET(sampleURIs[1], username, password).'artifact'.@uri Step 3. Gather Workflow URIs
// Gather the required workflow URIs
workflowAURI = workflowURIs[0]
workflowBURI = workflowURIs[1] Step 4. Construct and POST the XML
Expected Output and Results
Attachments
Last updated
Was this helpful?