diff --git a/README.md b/README.md index 335a156..1c5cd0b 100644 --- a/README.md +++ b/README.md @@ -354,4 +354,31 @@ Hospital Management API built in Spring Boot | ------------- | ------------- | | `200` | _Successful operation_ | +#### PUT - [**/api/v1.0/patients**] - Updates an existing patient + +- **Body:** +``` +{ + "id" (number, required), + "name" (string, optional), + "telephone" (string, optional), + "address": { + "street" (string, optional), + "neighborhood" (string, optional), + "zipcode" (string, optional), + "city" (string, optional), + "state" (string, optional), + "additionalDetails" (string, optional), + "houseNumber" (string, optional), + } +} +``` + +- **Responses:** + +| Code | Description | +| ------------- | ------------- | +| `200` | _Successful operation_ | +| `400` | _Validation Error_ | +