Rest API get all records from a table runs into columns which are records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:15 PM
I am using Table API with GET all records from a table and run into some columns which are records like a user. How do I expand this to get a field from the record?
My exact use case is the CMDB Application class, and I want to get the list of applications, with the owners (and a few other columns) but the owner for example is a user record.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:30 PM
Hi,
You might need to run a secondary call to obtain owner details - you will get the endpoint in original response for apps:
"owned_by": {
"link": "https://dev202555.service-now.com/api/now/table/sys_user/62826bf03710200044e0bfc8bcbe5df1",
"value": "62826bf03710200044e0bfc8bcbe5df1"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:32 PM - edited 02-23-2024 03:34 PM
Hi @VL10 ,
Use the below parameter in URI, for display value of reference fields.
sysparm_display_value=true
Sample in REST API Explorer
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 09:43 AM
Many thanks, that helped. I can see the display_value in my query tool (Postman). Any idea how to make Excel display the display_value rather than the record if I embed this in Excel?