coreAPI: coreAPI Creates a object of class coreAPI that contains user...

Description Usage Arguments Details Value Author(s) Examples

Description

coreAPI Creates a object of class coreAPI that contains user and connection information.

Usage

1
coreAPI(CoreAccountInfo)

Arguments

CoreAccountInfo

file with account information in json format.

Details

Creates a object of class coreAPI that contains user name, password base url, account, port. It has slots for account, jsessionId, AWSELB, and base URL. Requires a json file that is a POSTMAN environment file. #'Creates a object of class coreAPI that contains account information coreAPI("path to json"). The json must include the fields shown below. { "values": [ { "key": "tenant", "value": "R-Integration_Baseline" }, { "key": "TenantShortName", "value": "bp2", "type": "text", "enabled": true }, { "key": "scheme", "value": "https" }, { "key": "host", "value": "lims.ccc.cloud" }, { "key": "username", "value": "yyyy" }, { "key": "password", "value": "xxxxx" }, { "key": "port", "value": "443" } ] }

The account value may be set to "" if the user only has access to one tenant. As an alternative the environment json object from Postman can be used directly.

Value

Object of class coreAPI

Author(s)

Craig Parman ngsAnalytics, ngsanalytics.com

Examples

1
2
3
4
## Not run: 
api<-CoreAPIV::coreAPI("/home/environment.json")

## End(Not run)

ceparman/CoreAPI documentation built on May 13, 2019, 2:59 p.m.