Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get meta for table

Adithya Khurana
Tera Contributor

I am having a requirement to fetch the API Key names for the tables like Incident, User, and etc.

For this, i have handled one API call for the table - api/now/table/incident with offset 1 to get 1 ticket. and fetched the keys from the response.

Is there any alternate solution available like any dedicated API Call to achieve. 

I also tried sys_dictionary table api but it is not resolving my requirement as i need API/NOW/TABLE/ meta data. 

1 REPLY 1

Hemanth M1
Giga Sage
Giga Sage

Hi @Adithya Khurana ,

 

Why don't use scripted rest api and pass table names in the body or path/query parameters and read tables, glide get keys??

 

refer: https://docs.servicenow.com/bundle/xanadu-api-reference/page/integrate/custom-web-services/reference... 

 

https://www.youtube.com/watch?v=_GeQXYBpAEU 

 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025