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

Description Usage Arguments Details Value Author(s) Examples

View source: R/getAttachedAttributeFile.R

Description

getAttachedAttributeFile Gets file attached to an attribute on a entity.

Usage

1
getAttachedAttributeFile(coreApi, entityType, barcode, attribute, ...)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type where sample is attached

barcode

barcode of the entity

attribute

name of the attribute

...

additional arguments passed to apiGET

Details

getAttachedAttributeFile Gets file attached to an attribute on a entity

Value

List of length 2, containing entity and response objects:

Author(s)

Craig Parman info@ngsanalytics.com

Adam Wheeler adam.wheeler@thermofisher.com

Natasha Mora natasha.mora@thermofisher.com

Scott Russell scott.russell@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)

AmundsenJunior/pfsrsdk documentation built on July 18, 2019, 8:10 p.m.