Approve/Reject a Review Acivity via Cloudconnector Rest API
Hello guys,
we just started exploring the cloudconnector Rest API and already had success as it is really self-explanatory.
Still there are two things which I have to ask:
1) Is it possible to add an assigned to and/or affected user directly when the workitem is created? I tried it with
"RequestedWorkItem" = @{ "BaseId" = "193868da-531b-cdab-2666-3afcf23f8876" };
(same for assigned to) but I receive the following error in the REST response: "The given key was not present in the dictionary"
Or is it just that the source (in this case the workitem) has to exist before a relationship can be built upon it?
2) Is it possible to approve a Review Activity via the Cloud Connector API? I tried it with adding a new reviewer but I failed miserably.
The best would be if I could just edit the given reviewer with this API call, but if that's not possible, creating a new one and approve it in the next step would also be ok ;)
JFI: We use powershell to send the REST call.
Answers
+1
Added a Feature Request for this.
https://community.cireson.com/discussion/6712/approve-reject-a-review-acivity-via-cloudconnector-rest-api/