Topic by Marlena C
Our developer is having an issue with updating incidents with a Private Note when using PATCH.
For some reason, the Account ID is not setting correctly. Is there something missing here?
Here are her notes:
I am [using PATCH method]... and the incident is updated with the new thread when I do so, but the account portion is completely ignored. For example, if I send:{ "threads": { "account": { "id": 379470 }, "entryType": { "lookupName": "Note" }, "text": "Here is a new note." } }
to:
https://xxxxxx--tst.custhelp.com/services/rest/connect/v1.3/incidents/3128592
... the result is that a new thread is added (correct) with entryType of Note (correct) and account of 377694 (incorrect) [Account 377694 is the account used to authenticate when the script starts.]. If I attempt to update a thread directly by sending:
{ "account": { "id": 379470 } }
to:
https://xxxxxx--tst.custhelp.com/services/rest/connect/v1.3/incidents/3128592/threads/11523135
... then 200 (success) is returned, but the thread is not updated.