puvlish Rest API

0
In the  published rest API  {     "ActivityUID": "3-206881050842",     "Id": "1-2N1FJODD",     "Instruction": "Test ",     "Visibility": "Internal",     "InstructionType": "Internal Note",     "Login": "RJANGA",     "Flag": "N",     "ParentObject": "Sales Order Line Items-Notes" in the microflow how to apply the validation for all this field     
asked
2 answers
3

Hi Harshitha,

You can put a decision box to check, whether the attribute is empty or null,

this way you will be able to avoid the 400:Bad request issue,

 

Let me know, if you face any issues,

Hope it helps!!

answered
0

Hi Harshitha,

 

You can create a validation microflow that checks on the received attributes if it is empty or not in a valid format. You can do whatever validation you want. You can also change the HTTP response code as well.

answered