How to upgrade from 1.3 Anaplan API to 2.0

Highlighted
Occasional Contributor

How to upgrade from 1.3 Anaplan API to 2.0

Hello community,

 

Could you please tell me how to upgrade from API version 1.3 to 2.0?

 

Thank you

6 REPLIES 6
Highlighted
Master Anaplanner/Community Boss

Re: How to upgrade from 1.3 Anaplan API to 2.0

Hi HalaBTB,

Could you please explain how exactly you are consuming the APIs and I can help further

Regards,
Anirudh
Highlighted
Occasional Contributor

Re: How to upgrade from 1.3 Anaplan API to 2.0

Hi,

 

What kind of information do you need?

I'm using now , Restful Anaplan API version 1.3 ,content_Type(application/JSON),Basic authentification, between Talend and Anaplan (Internal applications). I want to upgrade it in order to use CA in stead of Basic authentification(login/password).

 

Best regards,

 

 

 

Highlighted
Master Anaplanner/Community Boss

Re: How to upgrade from 1.3 Anaplan API to 2.0

What's the layer in between? Is it an ETL tool? A custom script, or Anaplan connect?
Are you running just an upload and import actions in Anaplan or is there anything more complex?

Regards,
Anirudh

Highlighted
Occasional Contributor

Re: How to upgrade from 1.3 Anaplan API to 2.0

the layer in between is 'Talend', it's an ETL tool, and we are running imports to anaplan and exports from anaplan.

Regards,

Hala

Highlighted
Frequent Contributor

Re: How to upgrade from 1.3 Anaplan API to 2.0

Hi,

 

there are 2 main things that you need to change:

1.- Change the URL from https://api.anaplan.com/1/3/workspaces/... .  by https://api.anaplan.com/2/0/workspaces/....

2.- Change the authentication method, in the version 2 you need to use a Token

 

this is the documentation for the version 2:

https://anaplanbulkapi20.docs.apiary.io/#reference/upload-files

 

the version 1.3:

https://anaplan.docs.apiary.io/#reference/upload-files

 

Regards

Highlighted
Community Boss

Re: How to upgrade from 1.3 Anaplan API to 2.0

The other major difference that will require adaptation is the JSON response format - in v2 you'll find the data you get in v1 is wrapped inside a response object containing status and other information.