Skip to main content
Solved

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

  • April 22, 2025
  • 5 replies
  • 81 views

Forum|alt.badge.img+1

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
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • April 22, 2025

Hi ​@Divyansh 58 ,

 

Have you checked the WLM API documentation?

Workload Management API

 



 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • April 22, 2025

Yes, I have checked but it is not working.


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • 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?


Forum|alt.badge.img+2
  • Cadet | Tier 2
  • Answer
  • 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.

 


Forum|alt.badge.img+17
  • 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: