rest api vs scripted rest api difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 07:33 AM
Hi All,
Can someone please explain best example in which case we need to go with scripted rest apis?
Thank you,
Shabbir Shik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 07:40 AM
For me its simple. Do you just need data from a table or to do a simple update to a record? If yes then REST API. If you need to pass unverified data so the web service needs to verify it and then set values or you need to do other complex processing with custom code I use the Scripted REST API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 07:45 AM
Hello @shabbir5
@Scripted REST API allows you to do the scripting and do validations, insertions and updations etc..
Rest API - as far as ServiceNow is concerned, you can do normal CRUD operations using standard APIs.
Open Rest API explorer module to know type of APIs.
Kind Regards,
Ravi Chandra
Kind Regards,
Ravi Chandra