- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2025 02:53 AM
Hi,
How to create service account to call API. I need to create service account to call API an read all records from catalog item.
There is catalog item called 'ABC' and I need to read all records from that table and that record are stored in one table.
I need to call create service account and call API to retrieve all RITM and then we need to call API to retrieve table that stored User Registration data.
Can you please help me with step.
Regards,
Nivedita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 11:54 PM
correct the scripted REST API resource needs to be given in postman
Also ensure you add prefix with the instance name etc in the URL
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
04-21-2025 03:25 AM
Hi @Ankur Bawiskar,
Need to show all variable value that is available in user registration catalog item.
Do I need to use above table, yesterday I saw that table but didn't able to get how to link and get RITM for user registration and with their corressponding value.
RITM - their field value
RITM - their field value
Please find attached screenshot :
Can you please help how to get RITM and their data.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 03:34 AM
check this link which talks about scripted rest api and how 3rd party can get variable value
Scripted REST APIs & Retrieving RITM Variables via SRAPI
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
04-21-2025 04:13 AM
Hi @Ankur Bawiskar,
I have gone through above link and with that we are manually entering RITM and I need to get for dynamic RITM which are for user registration.
How I can get it RITM for user registration and their all variable value.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 04:50 AM
Hi @Ankur Bawiskar,
I have created all step as per above link but getting error.
Please find attached screenshot :
Can you please help to fix that and when it will work I can add filter on that to get dynamic RITM for user registration all variable value.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 04:52 AM
Hi @Ankur Bawiskar,
I'm getting above error.
I have created each step followed by link.
Can you please help me to fix that.
Regards,
Nivedita