How to get Table Displayvalue through Rest APi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 11:47 AM
I am calling user table Via REST API as below.How do i get Display value . In Below Scenario i should get Name Column(User Table).Please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 11:51 AM
If you want the display values for the reference fields, add this to your URI
sysparm_display_value=true
If you want both sys_id and display value use this
sysparm_display_value=all
Use the REST API explorer to test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2016 12:12 PM
Thanks for your Response.My requirement is for not reference columns.Suppose if i call user table it should give name .Please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2016 07:25 PM
The rules for how a display value are determined go like this:
- Is there a field with the display field set to true?
- Is there a dictionary override (for an extended table) with a display value override set
- Is there a field called number, name, u_number, or u_name
That is how the system determines what the display value is. It's not a query you can make via REST to say "Here's a sys_id of a user record, send me back the display value."
I love the idea and invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2017 05:50 AM
Please let me know if I have answered your question or if you still have an outstanding issue. I would like to mark this as answered so it is removed from the Unanswered list.