Description Usage Arguments Examples
Makes a api request to tm1 server with url and body specified
1 | tm1_api_request(tm1_connection, url, body ="", type = "GET")
|
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 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.