createSampleLot: createSampleLot - Creates a lot of a sample.

Description Usage Arguments Details Value Author(s) Examples

Description

createSampleLot Creates a new sample lot using the parent sample barcode

Usage

1
2
createSampleLot(coreApi, sampleType, sampleBarcode, body = NULL,
  fullMetadata = TRUE, useVerbose = FALSE)

Arguments

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

useVerbose

Use verbose communication for debugging

Details

createSampleLot Creates a sample lot of a sample. Assumes the sample lot entity is in the form samplename_lot

Value

RETURN returns a list $entity contains entity information, $response contains the entire http response

Author(s)

Craig Parman info@ngsanalytics.com

Natasha Mora natasha.mora@thermofisher.com

Adam Wheeler adam.wheeler@thermofisher.com

Examples

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)

ajwtech/pfsrsdk documentation built on June 14, 2019, 10:34 a.m.