Question

1
Replies
373
Views
Bernard Gutermann (BernardG0011)
Knowledge Expert
Senior Consultant
Knowledge Expert
CH
BernardG0011 Member since 2016 1 post
Knowledge Expert
Posted: December 14, 2016
Last activity: December 15, 2016
Posted: 14 Dec 2016 7:58 EST
Last activity: 15 Dec 2016 1:29 EST
Closed

Cannot modify Microservice API return codes

When you use the microservice API with some validation rules on the input (for example to create a case), and the validation rule fails, the API returns HTTP 500 Internal Server Error.

Our specification stipulates that we have to return 400 Bad Request. 
How can we achieve this ?

Case Management Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.