File ID + Module ID via Web Browser
Previously you used to be able to do something like the following in a web browser to get IDs:
E.g. https://api.anaplan.com/2/0/workspaces/WORKSPACE%20ID/models/MODEL%20ID/files
Now when you try this you get a 401: Not authenticated error. Is this intended behaviour going forward? Can certainly set things up in postman but this was always a convenient shortcut
Best Answer
-
The behavior you're experiencing, receiving a 401 Not Authenticated error when trying to access Anaplan API endpoints directly in a web browser, is expected and is likely a result of security measures.
Accessing the Anaplan API requires proper authentication to ensure the security of sensitive data. In the past, there might have been less stringent security measures, but as security standards evolve, platforms tend to enforce more robust authentication mechanisms.
To interact with the Anaplan API, you should use proper authentication methods, such as OAuth 2.0, API tokens, or service account authentication. If you are using Postman, it's a convenient way to handle authentication and construct API requests.
If you have concerns or questions about the specific changes in Anaplan's API authentication requirements, I recommend checking the Anaplan API documentation or reaching out to Anaplan support for the most up-to-date information on authentication procedures.
1
Answers
-
Hi,
You can access file ids with url below after you have logged in to anaplan normally.
https://us1a.app.anaplan.com/2/0/workspaces/Workspace ID/models/Model ID/files
You don't need postman or other tools and can reach this endpoint directly with your browser.
1 -
Try this link instead:
https://us1a.app.anaplan.com/2/0/models/(model_ID)/processes
1 -
D'oh, looks like I just had the wrong URL saved, thanks folks
1 -
Awesome @brettnish , do consider marking any of the replies as an accepted solution so the thread is closed
0