Mandatory fields on REST API - Asynchronous
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 07:17 AM
Hello,
I working on a REST API - Asynchronous via integration hub to create incident record. I've define my Body with one field mandatory (description).
But when I send the following request without "description", it's accepted and incident is created. I was expecting an error message that request "description" in the body.
{
"short_description": "Incident REST API"
}
Can someone help me understand why incident is created whereas the is no "description" in the body ?
When click on "Test" the "description is mandatory.
Kind regards,
Mani
Labels:
- Labels:
-
Scripting and Coding
0 REPLIES 0