getAttachedAttributeFile: getAttachedAttributeFile - Gets file attached to an attribute...

Description Usage Arguments Details Value Author(s) Examples

Description

getAttachedAttributeFile Gets file attached to an attribute on a entity.

Usage

1
2
getAttachedAttributeFile(coreApi, entityType, barcode, attribute,
  useVerbose = FALSE)

Arguments

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

Details

getAttachedAttributeFile Gets file attached to an attribute on a entity

Value

returns a list $entity contains the binary file data, $response contains the entire http response

Author(s)

Craig Parman info@ngsanalytics.com

Adam Wheeler adam.wheeler@thermofisher.com

Natasha Mora natasha.mora@thermofisher.com

Examples

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)

ajwtech/pfsrsdk documentation built on June 14, 2019, 10:34 a.m.