With workato, I have automated several processes around BIM360. My newest job is, to automate the export the completed checklists as a report. I have tried to use the endpoint uses bei the WebUI. It seems like it is forbidden...
403 Forbidden: { "developerMessage":"The client_id specified does not have access to the api product", "moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/", "errorCode": "AUTH-001"}
Has anyone a good idea how to export those checklists without building an own report? @autodesk: it would be very helpful, to release the report feature as well for the API.
Thanks to all for your help
Firstly, there is not yet a direct endpoint to export records (issue/checklist/rfi) etc. May I know which endpoint you tried to call? It sounds you called an url of Checklist webpage from Network tracking in browser console?
Currently, only GET Checklist Instances/Templates are available. From API perspective, the records are not extracted by one call. The records may have huge number of items. The code will need to extract page by page. e.g. maximum to dump Issues is 200 items/page if 3rd Forge developer uses the endpoint. So if there are 1000 issues, the code will have to run 5 times. So, the actions of Wokato will need to build a loop condition.
In addition, I am curious on ‘report’ in the context. Workato builds the connection among apps. May I know which app you will connect, and does it render data as a report? At the beginning, it sounds you tried with an url of webpage function, but it looks it exports to a PDF. Even if it is possible to get the PDF within Workato, I am thinking how you use it with other apps when defining the actions.
One more thing: there is one product feature Data Connector in Account level. It exports data of admin data and projects data. There is a plan an API of Data Connector may probably be exposed in the future.