apiCall: apiCall - Base call to Core REST API.

Description Usage Arguments Details Value Author(s) Examples

Description

apiCall Base call to Core REST API.

Usage

1
apiCall(coreApi, body, encode, special = NULL, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

body

body for request

encode

encoding to use for request option are "multipart", "form", "json", "raw"

special

- passed to buildUrl for special sdk endpoints

useVerbose

Use verbose communication for debugging

Details

apiCall Base call to Core REST API.

Value

RETURN return the entire http response

Author(s)

Craig Parman

Examples

1
2
3
4
5
6
7
## Not run: 
api<-CoreAPI("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
response <-CoreAPI::apiCall(login$coreApi,body,"json",,special=NULL,useVerbose=FALSE)
logOut(login$coreApi )

## End(Not run)

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