tm1_api_request: TM1 API Request

Description Usage Arguments Examples

Description

Makes a api request to tm1 server with url and body specified

Usage

1

Arguments

tm1_connection

tm1 connection object returned by the function tm1_connection

url

URL address for rest api request

body

body text of request

type

type of api request. Requests in httr package are supported like GET, POST, DELETE, PATCH

Examples

1
2
3
4
5
6
7
## Not run: 
con_obj <- tm1_connection("localhost", "8881", "admin", "apple")
url <- "https://localhost:8881/api/v1/Cubes('SalesCube')/Dimensions"
tm1_api_request(con_obj, url, type = "GET")


## End(Not run)

muhammedalionder/tm1r documentation built on May 10, 2019, 1:19 a.m.