powered by
Makes a api request to tm1 server with url and body specified
tm1_api_request(tm1_connection, url, body ="", type = "GET")
tm1 connection object returned by the function tm1_connection
URL address for rest api request
body text of request
type of api request. Requests in httr package are supported like GET, POST, DELETE, PATCH
# 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") # }
Run the code above in your browser using DataLab