Need a REST API with a GET method where in the URL, the user’s email address sent as a query param

kiran kumar m1
Tera Contributor

Need a REST API with a GET method where in the URL, the user’s email address sent as a query param so that in the response we could receive a Boolean response in JSON format   is this possible?

8 REPLIES 8

Amit Pandey
Kilo Sage

Hi @kiran kumar m1 

 

Do you want to use OOB Table API? Or you want to create a custom scripted REST API?

 

Regards,

Amit

Is there any OOB present ?

Hi @unrecognised007 

 

Yes, Please open REST API Explorer form navigator and refer to following screenshot-

 

AmitPandey_0-1712163894415.png

https://yourinstance.service-now.com/api/now/table/sys_user?sysparm_query=email%3Dadmin%40example.co...

Please mark my answer helpful and correct.

 

Regards,

Amit

 

 

@Amit Pandey will it return true or false in response body