From 3bf57738e1883465001aa8c7f46fa7c32039adc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Bentes?= Date: Mon, 24 Apr 2017 11:27:42 +0200 Subject: [PATCH] Fixed error messages --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4bd3904..0080aa5 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,10 @@ docker run jbentes/hospital-simulator:0.1     * **Error Response:** - * **Code:** 422 UNPROCESSABLE ENTRY
+ * **Code:** 400 BAD REQUEST
**Content:** - `{ error : "Invalid Patient Condition" }` OR `{ error : "Invalid Patient Data" }` - +    `{ error : "Invalid Patient Condition" }` OR `{ error : "Invalid Patient Data" }` OR `{ error = "Invalid Consultation object" }` +     * **Notes:** The version 0.1 only supports three types of patient's condition: (1) Cancer.Head&Neck, (2) Cancer.Breast, (3) Flue.