Issue with Caller when creating Incident using REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2024 02:01 PM
There are 3 users like this:
Using REST API (Table API), external tool is creating INCIDENT where below is the payload they are sending:
{
"caller_id":"Carol Coughlin",
"short_description":"Issue with MS Teams",
"description":"Not able to attach docs in Teams"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2024 02:44 PM - edited ‎03-24-2024 02:45 PM
Hey @Suggy,
I am assuming the email address is unique per user. If so, try using the email address for the value of the 'caller_id'.
e.g. {'caller_id' : 'carol.coughlin1@email.com'}
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2024 10:23 PM
Hi @Suggy
Better to make use of sys_id of the user record for the caller_id field instead of giving user id. If you still want to use user id, please ensure that the parameter
sysparm_input_display_value=true
is set to true while making the API call.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.