GET-request: obtaining exchange rates: Difference between revisions
From Planfix
(Created page with "{{#seo: |title=GET-request: obtaining exchange rates |titlemode=append |keywords=planfix, post-requests, scripts, incoming webhooks, HTTP-requests, http, requests, POST, GET, PUT, DELETE, obtaining exchange rates, exchange rates |description=GET-request: obtaining exchange rates }} 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...") |
No edit summary |
||
Line 5: | Line 5: | ||
|description=GET-request: obtaining exchange rates | |description=GET-request: obtaining exchange rates | ||
}} | }} | ||
Get exchange rates from the Open Exchange Rates website directly in Planfix using an automation [[ | Get exchange rates from the Open Exchange Rates website directly in Planfix using an automation [[Scripts|scripts]].To set this up, sign up on the Open Exchange Rates website, the data will be available via this [https://openexchangerates.org/api/latest.json?app_id=YOUR_APP_ID link]. You will need to paste your App IDs instead of YOUR_APP_ID. | ||
*Setting up the button: | *Setting up the button: |
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: