How to integrate from Anaplan to ETRM through API.
Can you please help me on how to integrate data from Anaplan to ETRM, with API's, or if I can get API's script by which I can change workspace and model id and use that script.
Answers
-
Script for Anaplan API:
Here's a simplified example of a script using Python with the
requests
library to extract data from Anaplan. Replaceworkspace_id
,model_id
, andapi_token
with your actual values:import requests
Anaplan API URL formaturl = "https://api.anaplan.com/2/0/workspaces/{workspace_id}/models/{model_id}/exports"
Headers with API tokenheaders = {
Make API request
"Authorization": "AnaplanAuthToken {api_token}",
"Content-Type": "application/json",
}response = requests.post(url, headers=headers)
Print API responseprint(response.json())
0 -
instead of Authtoken, can I use my username and password as well? Or I have to buy that token(certificate) from Anaplan?
0 -
@Dikshant , with the help of API, anaplan will directly integrate with other tool, or it will be like first export csv file then loading of that csv file into ETRM tool.
0