getEntityById: getEntityById - Get an entity from the LIMS by entity ID.

Description Usage Arguments Details Value Author(s) Examples

Description

getEntityById Get an entity from the LIMS by ID and entityType.

Usage

1
getEntityById(coreApi, entityType, entityId, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

entityId

ID of entity to get

useVerbose

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

Details

getEntityById get an entity from the LIMS by ID.

Value

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

Author(s)

Craig Parman

Examples

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

## End(Not run)

ceparman/CoreAPI documentation built on May 13, 2019, 2:59 p.m.