updateEntityAssociations: 'updateEntityAssociations' Update entity assoications

Description Usage Arguments Value Author(s) Examples

Description

updateEntityAssociations Update entity associations.

Usage

1
2
updateEntityAssociations(coreApi, entityType, barcode, updateValues,
  useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

barcode

barcode of entity to get

updateValues

values to update as list of associations contex and entity type pair and barcode

useVerbose

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

Value

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

Author(s)

Craig Parman ngsAnalytics, ngsanalytics.com

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
api<-CoreAPIV2::CoreAPI("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
updateValues <- list(SAMPLE_ENZYME = c("ENZYME", "ENZ2"))
response <-CoreAPIV2::updateEntityAssociations(login$coreApi,"entityType","barcode",values)
udatedEntity <- response$entity
CoreAPIV2::logOut(login$coreApi)

## End(Not run)

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