getEntityByBarcode Get an entity from the LIMS by barcode and entityType.

getEntityByBarcode(coreApi, entityType, barcode, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

barcode

barcode of entity to get

useVerbose

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

Value

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

Details

getEntityByBarcode get an entity from the LIMS by barcode

Examples

# NOT RUN {
api<-CoreAPI("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
item<-getEntityByBarcode(login$coreApi,"entityType","barcode")
logOut(login$coreApi)
# }