Fetch fields in a table using .do/SCHEMA API

kanikag
Tera Contributor

I am trying to fetch fields using {ins}/incident_sla.do?SCHEMA instead of {inst}/api/now/table/sys_db_object as it has more relevant info in the response, can someone help me with comparison based on pros and cons between these to API calls. Please also share the documentation for {ins}/incident_sla.do?SCHEMA.

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @kanikag 

please find your answer in the following article: https://davidmac.pro/posts/2021-11-26-schema-meta-api/

Maik

Thanks Maik, I already went through this, but there is no official document for these?
Is there any official document around {ins}/incident_sla.do?SCHEMA

Ankur Bawiskar
Tera Patron
Tera Patron

@kanikag 

you already asked something similar earlier where I shared the detailed response

get columns in incident_sla using Table API 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

kanikag
Tera Contributor

@Ankur Bawiskar Table API has very limited information, I am looking for other API like {ins}/incident_sla.do?SCHEMA which can give the information required.
Our earlier discussion is around table API only.