REST API : Is there a way to get incident details by case number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2015 09:51 AM
Is there a way to get incident details by case number using REST API?
I only see once can provide incident/{sys_id}, I was wondering if there is any thing like incident/{case-number} instead. Also, one can see that GET incident?number=xxx is present, however it returns the list of incident in the result set.
Appreciate if some one can guide to get the incident details by case number. Also, what is the key difference between sys_id vs case-number are they both unique?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2021 12:28 PM
This is very helpful, Along with these details, is there a way to get assignment_group.email ?
https://xxxx.service-now.com/api/now/v1/table/incident?sysparm_query=number={INC123454}&sysparm_fields=caller_id.email%2Cassigned_to.email%2Cassignment_group.email
The below query works but assignment group is empty