How to display data like device details, ip address..in our portal from the 3rd party through API in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 04:58 AM
Hi Team,
I am trying to implement this - When the user clicks on Device name mentioned in the portal, he/she should get all the details of that device from the 3rd party to our portal through api. how to implement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 05:34 AM
I assume you have the endpoint of that 3rd party and authentication details, simply create onChange client script and use GlideAjax and send the device name
Within GlideAjax you can use RESTMessage or SOAPMessage call and get the details, return the details to the client side and then display
what did you start with and where are you stuck?
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
03-25-2025 05:40 AM
@Ankur Bawiskar thank you for quick response.
I would like to know how to show device details in sp portal through API ?
I assume you have the endpoint of that 3rd party --- Yes, we have 3rd party API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 05:43 AM
I already shared the steps regarding client script, script include, GlideAjax
what did you start with and where are you stuck?
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
03-25-2025 06:46 AM
Hello @nivethika
Get on portal like where ? On a catalog form right ?
Then yes, we can do this by calling Rest message function within the script include and just returning response to populate on a field in form.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY