Description Usage Arguments Value Author(s) Examples
View source: R/updateEntityAttributes.R
updateEntityAttributes
Update entity attributes.
1 | updateEntityAttributes(coreApi, entityType, barcode, updateValues, ...)
|
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 |
... |
additional arguments passed to |
List of length 2, containing entity
and response
objects:
entity
is the HTTP response content of updated entity information.
response
is the entire HTTP response.
Craig Parman info@ngsanalytics.com
Adam Wheeler adam.wheeler@thermofisher.com
Scott Russell scott.russell@thermofisher.com
1 2 3 4 5 6 7 8 9 | ## Not run:
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
updateValues <- list(SOURCE_LAB = "My Lab", REQUESTOR = "you")
response <- updateEntityAttributes(login$coreApi, "entityType", "barcode", updateValues)
updatedEntity <- response$entity
logOut(login$coreApi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.