rest api vs scripted rest api difference

shabbir5
Tera Guru

Hi All,

 

Can someone please explain best example in which case we need to go with scripted rest apis?

 

Thank you,

Shabbir Shik

2 REPLIES 2

DrewW
Mega Sage
Mega Sage

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.

 

Ravi Chandra_K
Kilo Patron
Kilo Patron

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