Mandatory fields on REST API - Asynchronous

Mani41
Mega Guru

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).

find_real_file.png

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.

find_real_file.png

 

Kind regards,

Mani

0 REPLIES 0