Is there an api call to download a scenario as JSON? I would like to use this combined with AI to help create documentation on scenarios.
Solved! Go to Solution.
Views
Replies
Total Likes
After hours and hours of digging I have finally figured out the solution.
First you need a Fusion API key which btw has little to no documentation on how to generate (at least that I could find), I referred to this post. Click on profile in the top right -> Fusion Profile -> API -> Generate API Token
The use a HTTP Module with URL https://app.workfrontfusion.com/api/v2/scenarios/{scenarioID}/blueprint with a header of "Authorization: Token abcdefab-1234-5678-abcd-112233445566"
Views
Replies
Total Likes
Hi,
You can list the blueprints of a scenario using the following request:
GET https://<apiUrl>/api/v2/scenarios/<scenarioID>/blueprints
This shows you the version number, which is the blueprintId. So using the following call will return the scenario as JSON:
GET https://<apiUrl>/api/v2/scenarios/<scenarioID>/blueprint?blueprintId=<version>
Regards
Lars
What module would you use to get this in Fusion? I can't seem to get the api modules to work. Also where are you finding this information?
Views
Replies
Total Likes
After hours and hours of digging I have finally figured out the solution.
First you need a Fusion API key which btw has little to no documentation on how to generate (at least that I could find), I referred to this post. Click on profile in the top right -> Fusion Profile -> API -> Generate API Token
The use a HTTP Module with URL https://app.workfrontfusion.com/api/v2/scenarios/{scenarioID}/blueprint with a header of "Authorization: Token abcdefab-1234-5678-abcd-112233445566"
Views
Replies
Total Likes