Description Usage Arguments Details Value Author(s) Examples
View source: R/createSampleLot.R
createSampleLot Creates a new sample lot using the parent sample barcode
1 2  | createSampleLot(coreApi, sampleType, sampleBarcode, body = NULL,
  fullMetadata = TRUE, ...)
 | 
coreApi | 
 coreApi object with valid jsessionid  | 
sampleType | 
 sample type to create the lot of  | 
sampleBarcode | 
 parent sample barcode  | 
body | 
 attributes as list of key-values pairs (optional)  | 
fullMetadata | 
 get full metadata, default is FALSE  | 
... | 
 additional arguments passed to   | 
createSampleLot Creates a sample lot of a sample. Assumes the sample lot entity is in the form samplename_lot
List of length 2, containing entity and response objects:
entity is the HTTP response content.
response is the entire HTTP response.
Craig Parman info@ngsanalytics.com
Natasha Mora natasha.mora@thermofisher.com
Adam Wheeler adam.wheeler@thermofisher.com
Scott Russell scott.russell@thermofisher.com
1 2 3 4 5 6 7  | ## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
lot <- createSampleLot(login$coreApi, sampleType, sampleBarcode, )
logOut(login$coreApi)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.