getEntityAssociations: 'getEntityAssociations' Get assoication for a context

Description Usage Arguments Value Author(s) Examples

Description

getEntityAssociations Get assoication for a entity

Usage

1
2
getEntityAssociations(coreApi, entityType, barcode, context,
  fullMetadata = TRUE, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

barcode

barcode of entity to get

context

association context

fullMetadata

- get full metadata

useVerbose

TRUE or FALSE to indicate if verbose options should be used in http POST

Value

returns a list $entity contains entity associations, $response contains the entire http response

Author(s)

Craig Parman ngsAnalytics, ngsanalytics.com

Examples

1
2
3
4
5
6
7
## Not run: 
api<-CoreAPIV2::CoreAPI("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
associations<-CoreAPIV2::getEntityAssociations(login$coreApi,"entityType","barcode",values)
CoreAPIV2::logOut(login$coreApi)

## End(Not run)

ceparman/Core5.3 documentation built on May 7, 2019, 8:16 a.m.