Home Analyst Portal

Approve/Reject a Review Acivity via Cloudconnector Rest API

Simon_ZeinhoferSimon_Zeinhofer Customer Advanced IT Monkey ✭✭✭

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.

Sign In or Register to comment.