GET-request: obtaining exchange rates

From Planfix
Revision as of 07:18, 25 July 2024 by Dmitri (talk | contribs) (→‎Go To)
Jump to: navigation, search

Get exchange rates from the Open Exchange Rates website directly in Planfix using an automation scripts.To set this up, sign up on the Open Exchange Rates website, the data will be available via this link. You will need to paste your App IDs instead of YOUR_APP_ID.

  • Setting up the button:

1DAuJk.jpg

  • Parsing the website's response:

J4KUPR.jpg

Here's how the response parsing works:

  • Extract the required data from the website's response and place it into info blocks.
  • Add a Comment to the Current Task: This step is optional and is a control measure.
  • Finally, duplicate the data from the info block into the corresponding task fields, ensuring the data can be used in further calculations.

After clicking the button in the task, you'll see the following:

c3lVcc.gif


Go To