getEntityByBarcode: getEntityByBarcode - Get an entity by barcode from the Core...

Description Usage Arguments Details Value Author(s) Examples

Description

getEntityByBarcode Get an entity by barcode from the Core LIMS using the ODATA API.

Usage

1
2
getEntityByBarcode(coreApi, entityType, barcode, fullMetadata = FALSE,
  useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

barcode

barcode of entity to get

fullMetadata

- get full metadata, default is FALSE

useVerbose

TRUE or FALSE to indicate if verbose options should be used in http

Details

getEntityByBarcode get an entity from the LIMS by barcode

Value

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

Author(s)

Craig Parman info@ngsanalytics.com

Adam Wheeler adam.wheeler@thermofisher.com

Natasha Mora natasha.mora@thermofisher.com

Examples

1
2
3
4
5
6
7
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
item <- getEntityByBarcode(login$coreApi, "entityType", "barcode")
logOut(login$coreApi)

## End(Not run)

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