How to enforce the HTTP calls ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 11:14 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 11:20 AM
@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.