How to create Request Item (RITM) from Service Catalog item using REST API?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2022 05:31 AM
We have a service catalog item where people can request resizing of SQL servers, and I have been asked to find a way to raise these via PowerShell & REST API.
I can create incidents and requests, but I can't figure out how to create Request Items (RITMs), which would then automatically create the Request and Task items created when manually filling out the Service Catalog form.
I haven't been able to find any documentation that has been helpful in figuring this out.
Do I need to Post to a specific url? Or should "$ServiceNowInstance/api/now/table/sys_db_object" suffice?
Do I refer to the Catalog Item's sys_id in the request body? If so, what should the format be?
Thanks for any help in advance 🙂
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2023 04:12 AM
Hello,
Below video provides step by step process to accomplish this integration.
You can find the steps in detailed manner here at my blog - Click Here
Do Mark it Helpful if it is helpful.