API to get the list of entities and fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2024 09:07 AM
I have installed the `com.sn_customerservice` plugin. Is there an API to get the following?
- List of entities that the user can create/manage? E.g. Incidents, Contacts, Tasks, Accounts, etc.
- The layout/fields of the selected entity. E.g. fields within the "Incident" form and the field attribute (mandatory, length, type, etc.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2024 10:31 AM
Hi @sahilkhanna
You can go to Rest API Explorer and find the API.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2024 11:51 PM
@Dr Atul G- LNG , I could not find the API in the REST API Explorer, so I posted the question on this forum. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 03:25 AM
Hi @sahilkhanna
Did you check the 2nd link provided by @Anand Kumar P , i think that will solve your issue.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 12:53 AM
Hi @sahilkhanna ,
REST API Explorer- ServiceNow REST API Explorer is a useful tool to test these API calls interactively with any table any method within your instance by your own.
Refer below links
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand