Creating the record through REST API

SNOW Learner09
Tera Guru

Hi,

I want to create new record in SNOW table when user clicks the url (outside of snow platform it may be link in the email etc) and planning to use REST API for this. Can anyone please advise how to achieve this requirement. This requirement is to avoid user to login to now platform but create the record with all static values.

Please let me know if any other approach is there to achieve this.

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi

you have to create a Scripted REST API and use there the RESTAPIRequest object https://developer.servicenow.com/dev.do#!/learn/courses/quebec/app_store_learnv2_rest_quebec_rest_in... to fetch the URL parameter values.

Maik

Thanks for sharing the documentation. I am able to create the record by calling URI and HTTP method through REST API Explorer but how do make the url which can be called from an email. Please advise.

Hi

please read the following article which explain exactly what you have to do: https://snprotips.com/blog/2021/1/20/processors-srapis-and-how-to-run-a-script-and-redirect-a-user-f...

Maik