Description Usage Arguments Details Value Author(s) Examples
createSampleLot
Creates a new sample lot using the parent sample barcode
1 2 | createSampleLot(coreApi, sampleType, sampleBarcode, body = NULL,
useVerbose = FALSE)
|
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) |
useVerbose |
Use verbose communication for debugging |
createSampleLot
Creates a sample lot of a sample. Assumes the sample lot entity is in the form samplename_lot
RETURN returns a list $entity contains entity information, $response contains the entire http response
Craig Parman ngsAnalytics, ngsanalytics.com
1 2 3 4 5 6 7 | ## Not run:
api<-CoreAPIV2("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
lot<-CoreAPIV2::createSampleLot(login$coreApi,"Sample_Name")
logOut(login$coreApi )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.