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?
Solved
Creating Service Request via REST API
Best answer by willgalvao
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": ""
}
]
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.