The purpose of this Transactional API tutor script based on Python is to facilitate the learning process of Transactional API Calls using the Anaplan platform. This version contemplates the most common Transactional API calls until November 09, 2020.
Download the Python Script file using the file attachment located to the right of this article.
Steps to use it:
Make sure the following Python libraries are installed on your environment over Python 3.8.5. Note: Click here to get guidance on how to install Python packages.
Open the TransactionalAPITutor.py file and change the parameters described below according to your needs. Choose either Username-Password authentication or CA-Certificate-based authentication.
CA-certificate-based authentication parameters: Note: in the case of CA-Certificate-based authentication, make sure that you have the public and private key (.pem) files in place.
Current date is always used to set the Current Period of the selected model.
A set of Workspaces and Models accessible by your user or certificate will be presented to you during this Python script runtime so the subsequent Transactional API calls in the same script will be generated dynamically based on those parameters.
The underlying Anaplan Transactional API Details are shown.
Choose the correct option according to the underlying Anaplan Transactional API Endpoint.
Notice the next underlying Transactional API Details based on the previous selection.
Close that window by clicking on the red x at the top left corner.
Notice the underlying Transactional API Response based on the Transaction API details shown on the previous screenshot.
Close that window by clicking on the red x at the top left corner and continue the interaction with the API Transactional Tutor according to the script execution.
Feel free to post your feedback and suggestions in the comments below. I am more than happy to hear from you about your experience using the Python-based Transactional API Tutor script.
The content in this article has not been evaluated for all Anaplan implementations and may not be recommended for your specific situation.
Please consult your internal administrators prior to applying any of the ideas or steps in this article.