Description Usage Arguments Details Value Author(s) Examples
View source: R/getEntityByBarcode.R
getEntityByBarcode
Get an entity by barcode from PFS using the OData API.
1 2 | getEntityByBarcode(coreApi, entityType, barcode, fullMetadata = FALSE,
...)
|
coreApi |
coreApi object with valid jsessionid |
entityType |
entity type to get |
barcode |
barcode of entity to get |
fullMetadata |
- get full metadata, default is FALSE |
... |
additional arguments passed to |
getEntityByBarcode
Get an entity by barcode from PFS using the OData API.
List of length 2, containing entity
and response
objects:
entity
is the HTTP response content.
response
NULL by default (parameter fullReturn
is TRUE).
If fullReturn
is FALSE, returns the entire HTTP response.
Craig Parman info@ngsanalytics.com
Adam Wheeler adam.wheeler@thermofisher.com
Natasha Mora natasha.mora@thermofisher.com
Scott Russell scott.russell@thermofisher.com
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.