Skip to main content
Cadet | Tier 2
April 22, 2025
Solved

Update status of queue work items from NEW to Completed using REST API

  • April 22, 2025
  • 5 replies
  • 233 views

Hi Everyone, How can i update status of queue work items from NEW to Completed using REST Service Api.

Best answer by Aaron Gleason

This is documented in your control room’s Swagger page:

https://yourcontrolroom/swagger/

(don’t forget the trailing slash)

Under v4, choose Workload Management API, then under Workitems, choose the PUT for Update work item.

 

5 replies

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
April 22, 2025

Hi ​@Divyansh 58 ,

 

Have you checked the WLM API documentation?

Workload Management API

 



 

Padmakumar
Cadet | Tier 2
April 22, 2025

Yes, I have checked but it is not working.

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
April 22, 2025

Oh my bad. It seems that this method is deprecated by AA.

 

@arjun.meda Do we have any workaround for this?

Padmakumar
Navigator | Tier 3
April 22, 2025

This is documented in your control room’s Swagger page:

https://yourcontrolroom/swagger/

(don’t forget the trailing slash)

Under v4, choose Workload Management API, then under Workitems, choose the PUT for Update work item.

 

Most Valuable Pathfinder
April 22, 2025

The hiccup you’ll run into going the API route is pulling the workItemId as it is not exposed. I ran into nearly the same issue you’re describing, and was able to get what I wanted through a multi-step process. I do have a feature request in currently to improve this behavior, but for the time being you can look at this thread for one way to do it: