Description Usage Arguments Value Author(s) Examples
updateEntityAttributes
Update entity attributes.
1 2 | updateEntityAttributes(coreApi, entityType, barcode, updateValues,
useVerbose = FALSE)
|
coreApi |
coreApi object with valid jsessionid |
entityType |
entity type to get |
barcode |
barcode of entity to get |
updateValues |
vaules to update as list of value pairs |
useVerbose |
TRUE or FALSE to indicate if verbose options should be used in http POST |
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 8 9 | ## Not run:
api<-CoreAPIV2::CoreAPI("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
updateValues<-list(SOURCE_LAB = "My Lab",REQUESTOR = "you")
response<-CoreAPIV2::updateEntityAttributes(login$coreApi,"entityType","barcode",updateValues)
updatedEntity <- response$entity
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.