updateEntityProject: 'updateEntityProject'- Update entity project association

Description Usage Arguments Value Author(s) Examples

View source: R/updateEntityProject.R

Description

updateEntityProject - Update entity project associations. Does not perserve current associations.

Usage

1
updateEntityProject(coreApi, entityType, barcode, projectBarcodes, ...)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get

barcode

barcode of entity to get

projectBarcodes

one or more project barcodes to associate to the entity

...

additional arguments passed to apiPUT

Value

List of length 2, containing entity and response objects:

Author(s)

Craig Parman info@ngsanalytics.com

Adam Wheeler adam.wheeler@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 <- updateEntityProject(login$coreApi, "entityType", "barcode", "locationBarcode")
entity <- response$entity
logOut(login$coreApi)

## End(Not run)

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