Description Usage Arguments Details Value Author(s) Examples
createEntity
Creates a new entity instance. Required inputs are url, jsessionId and entityType.
1 2 |
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 |
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 ngsAnalytics, ngsanalytics.com
1 2 3 4 5 6 7 | ## Not run:
api<-CoreAPIV2::coreApi("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
item<-CoreAPI::createEntity(login$coreApi,"Entity_Type")
CoreAPI::logOut(login$coreApi )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.