How to retrieve display value of document id field type from the table API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 06:43 AM
Hi experts,
I am trying to hit the table api end point, https://instance.service-now.com/api/now/v2/table/sysapproval_approver?sysparm_query=state%3Drequested&sysparm_display_value=true&sysparm_limit=100
to fetch data of the sysapproval_approver table. The issue that I am facing currently is that for the document id field type fields like sysapproval and document_id retrieve empty values for it even when the sysparm_display_value=true.
Sample JSON response,
- Labels:
-
IntegrationHub
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 06:50 AM
That feels like a bug. I would expect it to show what it does on the form. Ex: Incident:INC0010001

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 07:25 AM
Hi Raskill!
Is this happening on other tables as well or just for sysapproval_approver?
Is the endpoint being accessed as an Admin?
Hope that helps!
If it did, please mark as Helpful and consider setting this reply as the Correct Answer to this question, thanks!