Postman-Anaplan Integration

Highlighted
Contributor

Postman-Anaplan Integration

Hi Team,

 

Very first step of authentication is successful in postman but I am getting error for performing Import request (GEThttps://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports)

 

{"status":{"code":401,"message":"Not Authenticated."}}

 

Please find the attached error screenshot 

@jesse_wilson 

3 REPLIES 3
Highlighted
Contributor

Re: Postman-Anaplan Integration

Screenshot attched

Highlighted
Master Anaplanner/Community Boss

Re: Postman-Anaplan Integration

Hi Prasad,

 

The authentication token for API version 2.0 is wrong. You need to encode the base64 value of username:password and pass that to auth.anaplan.com and fetch an auth token. Then use that result in your authorization header

 

Check the guide for 2.0 here

https://anaplanauthentication.docs.apiary.io/#reference/authentication-token

 

The authorization header in your screenshot should work fine for v1.3 of the API...

 

Regards,

Anirudh

Highlighted
Contributor

Re: Postman-Anaplan Integration

Thanks, I need to change the request URL instead of 2/0 to 1/3 ...now its working