GET-request: obtaining exchange rates: Difference between revisions
From Planfix
No edit summary |
(→Go To) |
||
Line 26: | Line 26: | ||
== Go To == | == Go To == | ||
[[Scripts]] | *[[Scripts]] | ||
[[API]] | *[[API]] |
Revision as of 07:18, 25 July 2024
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:
- Parsing the website's response:
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: