Use OOB Interaction API to create/update/close interaction

Feddy
Kilo Sage

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.
find_real_file.png

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

9 REPLIES 9

palanikumar
Mega Sage

Hi,

What access did you give to the integration user? add itil role and see whether the issue is resolved.

Thank you,

Palani

Thank you,
Palani

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)?

Try the role interaction_agent then.

Thank you,

Palani

Thank you,
Palani

I am trying in rest api explorer and as a admin. The record gets created with empty values on those fields