Anaplan Api call via postman
Hi,
I am trying to call Anaplan API via postman.
I tried Authenicate with https://auth.anaplan.com/token/authenticate and generated token
Then i tried calling imports pasting the token through the url
https://api.anaplan.com/1/0/workspaces/[workspace id]/models/[model id]/imports and its retrieving the data.
But i am not able to get using version 2 with url
https://api.anaplan.com/2/0/workspaces/[workspace id]/models/[model id]/imports.
Getting the list of processes is not getting through both 1 and 2 as well.
Can anyone please help. Is there any difference in authenticating for v2 and v1?
Best Answer
-
The authentication approach is indeed different for the v2.0 REST API. In 2.0, you need to pass the authentication token as part of the header. You can read here for more detail: https://anaplanbulkapi20.docs.apiary.io/#/introduction/getting-started/authentication
I would also recommend you make use of the Anaplan Postman Collection, which has all the calls you're looking for already pre-built.
3
Answers
-
A commitment of appreciation is all together for the information. Keep on sharing such illuminating presents and progress forward suggest such posts.
0 -
@ryan_kohn is there a postman collection for CloudWorks API? If yes, could you please post link here or email it to me thanks
0