How to enforce the HTTP calls ?

shabbir5
Tera Guru

Hi All,

 

While we are making any REST call (GET , PUT , POST , PATCH ) how to enforce these calls based on some criteria

 

Example :

 

suppose I want send POST call from postman to ServiceNow , an incident should not create without passing short description 

 

like the same way for other HTTP calls also, how to enforce these criteria?

 

Thank you,

Shabbir Shaik

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@shabbir5 You can use Data Policy for this purpose. Data policy can be used to make fields mandatory during data imports and web service calls. Please refer to https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/field-administr... to know more about data policy.

 

Hope this helps.