Getting HR cases using scripted REST API

Raji9
Tera Expert

Hi All,

I don't want to expose the SNOW case table name to the external. So descided to use Scripted REST API.

Let me know the best way to retrive the hr cases if i send the subject peron.  Do i need to use  GET or Post

Thanks

Ra

1 REPLY 1

Arav
Tera Guru

Hi Raji,

If you are planing to only retrieve data, then please use GET.

You can use GlideRecordSecure to check if the subject person has access to a case and then send the response (case details or error) accordingly.

Thanks,

Arav