How to Create Service Catalog Using Scripted Rest API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 10:58 PM
I need to create a Service Catalog using Scripted Rest API, I know we have service catalog API. But I need a custom API for it. Can anyone help me on this. thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 11:24 PM
you can use OOB Cart API to create REQ and RITM.
why to use another custom one when there is already 1 available OOB?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 12:29 AM
Hi @Ak8977
There's couple of API Type you can have a look.
Service Catalog API Developer / Service Catalog API Docs
You can build your own custom APIs as well => Let's define some in the Scripted REST APIs [sys_ws_definition] table.
Ref to OOTB for existing resources.
Name: Service Catalog API
URL: https://<instance_name>/sys_ws_definition.do?sys_id=b4558e83c3a302006f333b0ac3d3ae8e
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 12:45 AM
Hi @Ak8977
What help do you need with this?
This is a good article you can check on how to create scripted REST APIs.