I'm studying the api and I realized that whenever I open a new service request it is automatically assigned to me. Is there a way to not attribute it to anyone?
Best answer by willgalvao
View originalI'm studying the api and I realized that whenever I open a new service request it is automatically assigned to me. Is there a way to not attribute it to anyone?
Best answer by willgalvao
View originalPlease share ypur code as I am trying to create a service request using REST API and I am new to it. Thanks.
Done. All, or at least most, keys for the original object must be sent together. So to change the attribution we use the "responsibility" key.
In the body of the request:
{
"subject": "Service Request Subject",
"description": "Service Request Description",
"status": "2",
"assignedTo": "1",
"info": [
{
"key": "responsibility",
"value": "4", <--- user ID
"valueClass": "",
"mandatory": false,
"editable": true,
"type": "list",
"defaultValue": null,
"customColumnType": null,
"keyCaption": "Process manager",
"valueCaption": ""
}
]
}
I'm still doing tests and understanding better, but it's not necessary to send the entire object as I mentioned before.
I was able to create and change it by passing only key and value.
Is there a way to not assign the sr to anyone (i.e. Process Manager = “none”)? I tried setting responsibility to null, but it still assigns the sr to the user whose credentials I used to login to the api with.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.