R/getContainerLineage.R
getContainerLineage.Rd
getContainerLineage
Get the parent and child conttainers for a container referenced by barcode..
getContainerLineage(coreApi, barcode, useVerbose = FALSE)
coreApi | coreApi object with valid jsessionid |
---|---|
barcode | barcode of container to get lineage for |
useVerbose | TRUE or FALSE to indicate if verbose options should be used in http POST |
returns a list $entity contains entity information, $response contains the entire http response
getContainerLineage
get an entity from the LIMS by barcode and
# NOT RUN { api<-CoreAPI("PATH TO JSON FILE") login<- CoreAPI::authBasic(api) lineage<-getContainerLineage(login$coreApi,"barcode") parents <- ineage$entity$parents logOut(login$coreApi ) # }