Use OOB Interaction API to create/update/close interaction

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 05:18 AM
Hi Team ,
We have requirement to use OOB Interaction API to create/update/close interactions.
1. OOB create Interaction API doesn't allow me to create interaction with below details.
I believe number will be auto-populated but the created record doesn't have other values
My response body :
{"channel":"chat",
"subtype":"",
"state":"",
"short_description":"Test Short description",
"opened for":"<sys_id or name>",
"assignment_group":"<sys_id or name>",
"assigned_to":"<sys_id or name>",
"work_notes":"Test Worknotes"}
None of the values get populated using oob api. is this the expected behavior? if yes, what is the alternate approach import set API or scripted rest API's?
Your inputs are greatly appreciated.
Thanks,
Fedrick

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 05:32 AM
Hi,
What access did you give to the integration user? add itil role and see whether the issue is resolved.
Thank you,
Palani
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 05:43 AM
No It doesn't. I tired adding ITIL but the records get created only with channel type .
Is there way I can see where this API is configured ( like is it possible to modify response body of an OOB API)?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 05:47 AM
Try the role interaction_agent then.
Thank you,
Palani
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 05:53 AM
I am trying in rest api explorer and as a admin. The record gets created with empty values on those fields