Apply Reagent Labels with REST
Prerequisites
Code Example
def toLabel = GLSRestApiUtils.httpGET(artifactToLabelURI, username, password)
println '*** Before labeling'
println GLSRestApiUtils.nodeToXmlString(toLabel)
println
new Node(toLabel, 'reagent-label', [name: 'Index 1'])
println '*** After labeling'
println GLSRestApiUtils.nodeToXmlString(toLabel)
println
GLSRestApiUtils.httpPUT(toLabel, toLabel.@uri, username, password)Last updated
Was this helpful?