Description Usage Arguments Details Value Author(s) Examples
getEntityMetadata
Get an entity metadata by entityType. Returns a list with three data frames
named attributes,associations, and template. Template can be used as the body to for createEntity functions.
1 | getEntityMetadata(coreApi, entityType, useVerbose = FALSE)
|
coreApi |
coreApi object with valid jsessionid |
entityType |
entity type to get metadata for |
useVerbose |
TRUE or FALSE to indicate if verbose options should be used in http POST |
getEntityMetadata
Get entity metadata.
returns a list containing $attributes for attribute properties, and $association for association properties; $template contains a list that can be converted to JSON for object creation.
Craig Parman ngsAnalytics, ngsanalytics.com
1 2 3 4 5 6 7 | ## Not run:
api<-CoreAPIV2::CoreAPI("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
item<-CoreAPIV2::getEntityMetadata(login$coreApi,"entityType","barcode")
CoreAPIV2::logOut(login$coreApi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.