requestID = requestObj.get("id");
url = "https://servicedesk.xxxxx.ch:8443/api/v3/requests/" + requestID + "/share";
headers = {"authtoken":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"};
input_data = {
{ ???????? }
};
params = {"input_data": input_data};
response = invokeurl
[
url: url
type: PUT
parameters: params
headers: headers
];
info response;
return map();