Create workitem trough RestFul #3853
-
Hello, I'm triying to create a workitem via HTTP Requests, I'm using Postman with GET request to bring the whole worklist and I don't have any problems, but when I use POST request Postman show me Error 406. The link for the requests is the following http://ip:8080/dcm4chee-arc/aets/DCM4CHEE/rs/workitems/. Is there any way for create a Workitem trough this method? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Have you passed the required payload to create new workitem? Alternatively, you can use upsrs tool which simulates invocation of UPS-RS services |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for your answer. I don't have idea about how pass the required paylod to create new workitem, there is some documentation to follow the steps? Thanks. |
Beta Was this translation helpful? Give feedback.
-
You may use archive UI to create new workitem and look at the request payload json in browser inspect. |
Beta Was this translation helpful? Give feedback.
-
Thanks @vrindanayak, I can solve this problem. Finally, How delete the workitem? |
Beta Was this translation helpful? Give feedback.
-
Once the workitem state changes to COMPLETED or CANCELED and if the workitems do not have any deletion locks set on them, archive's default configurations (Delete UPS Polling Interval / Delete UPS Completed Delay / Delete UPS Canceled Delay) ensure to delete these workitems. See DICOM part4 - Change UPS State SCP behaviour
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your help @vrindanayak, I am very grateful. I can solve this, I spent days trying to solve it. |
Beta Was this translation helpful? Give feedback.
Once the workitem state changes to COMPLETED or CANCELED and if the workitems do not have any deletion locks set on them, archive's default configurations (Delete UPS Polling Interval / Delete UPS Completed Delay / Delete UPS Canceled Delay) ensure to delete these workitems.
See DICOM part4 - Change UPS State SCP behaviour