getEntityByName: getEntityByName - Get an entity by name from the Core LIMS...

Description Usage Arguments Details Value Author(s) Examples

View source: R/getEntityByName.R

Description

getEntityByName Get an entity by name from the Core LIMS using the ODATA API.

Usage

1
getEntityByName(coreApi, entityType, name, fullMetadata = FALSE, ...)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

name

name of entity to get

fullMetadata

- get full metadata, default is FALSE

...

additional arguments passed to apiGET

Details

getEntityByName get an entity by name from the Core LIMS using the ODATA API.

Value

List of length 2, containing entity and response objects:

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 <- getEntityByName(login$coreApi, "entityType", "name")
logOut(login$coreApi)

## End(Not run)

AmundsenJunior/pfsrsdk documentation built on July 18, 2019, 8:10 p.m.