Description Usage Arguments Details Value Author(s) Examples
getAttachedAttributeFile
Gets file attached to an attribute on a entity.
1 2 | getAttachedAttributeFile(coreApi, entityType, barcode, attribute,
useVerbose = FALSE)
|
coreApi |
coreApi object with valid jsessionid |
entityType |
entity type where sample is attached |
barcode |
barcode of the entity |
attribute |
name of the attribute |
useVerbose |
TRUE or FALSE to indicate if verbose options should be used |
getAttachedAttributeFile
Gets file attached to an attribute on a entity
returns a list $entity contains the binary file data, $response contains the entire http response
Craig Parman info@ngsanalytics.com
Adam Wheeler adam.wheeler@thermofisher.com
Natasha Mora natasha.mora@thermofisher.com
1 2 3 4 5 6 7 8 | ## Not run:
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
response <- getAttachedAttributeFile(login$coreApi, entityType, barcode, attribute)
witeBin(response$entity, "filename.txt")
logOut(login$coreApi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.