Andras
Andras

Reputation: 63

How to list all running workitems in Forge - Design Automation for Revit?

I would like to get running workitems to track progress of the posted workitems.

It is possible to get details to a given workitem by providing an ID, like this:

https://developer.api.autodesk.com/da/us-east/v3/workitems/{{workitemId}}

but I have posted multiple jobs, and using postman, only the last ID gets saved to an environment variable.

I tried getting the generic /workitems endpoints without query strings, but the result was that "The requested resource does not exist."

It would be nice to get a bit more documentation about the specific endpoints, I have read The developers_guide but could not find an answer.

I would expect a rest api to give back a list of workitems, just like it does it for activites or appbundles.

Upvotes: 0

Views: 194

Answers (1)

Emma Zhu
Emma Zhu

Reputation: 275

Design Automation doesn't have an API to list WorkItems. We only keep WorkItem's reports for 3 days. You can use this API to get details of a given workitem by providing its id.

Upvotes: 2

Related Questions