Description Usage Arguments Details Value Author(s) Examples
createEntity
Creates a new entity instance. Required inputs are url, jsessionId and entityType.
1 2 3 |
coreApi |
coreApi object with valid jsessionid |
entityType |
entity type to get as character string |
body |
values for attributes and associations as a list of key-values pairs |
locationId |
location ID for initial location as character string |
projectIds |
project comma separated list of project IDs as character string |
barcode |
User provided barcode as a character string |
fullMetadata |
get full metadata, default is FALSE |
useVerbose |
Use verbose communication for debugging |
createEntity
Create a new instance of a entity. Used for standard object or "Plan Old Core Objects" (POCOs)
RETURN returns a list $entity contains entity information, $response contains the entire http response
Craig Parman info@ngsanalytics.com
Natasha Mora natasha.mora@thermofisher.com
1 2 3 4 5 6 7 | ## Not run:
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
item <- createEntity(login$coreApi, "Entity_Type")
logOut(login$coreApi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.