From e0e14649653cf2efd29d3940e6e294be04c15d64 Mon Sep 17 00:00:00 2001 From: jp-karthik Date: Mon, 30 May 2022 18:10:45 +0530 Subject: [PATCH] fields updated --- CDC_Backend/README.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/CDC_Backend/README.md b/CDC_Backend/README.md index c39eeba..79ce3d8 100644 --- a/CDC_Backend/README.md +++ b/CDC_Backend/README.md @@ -1267,7 +1267,7 @@ Request_Body: ### Response -Response is a Json with these fields +Response is a Json with these fields when the application is found. ```json { @@ -1287,14 +1287,30 @@ Response is a Json with these fields } ``` +Response is a Json with these fields when the applciation is not found. + +```json +{ + "action": "Get Student Application", + "application_found": "false", + "student_details": { + "name": "John", + "batch": "2020", + "branch": "MMAE", + "resume_list": + } +} +``` + ### Status Codes The possible responses for this api request are as follows -| Status Codes | Possible Messages | -| --------------- | ---------------------- | -| 200 OK | `` | -| 400 BAD_REQUEST | `Something Went Wrong` | +| Status Codes | Possible Messages | +| --------------- | ----------------------- | +| 200 OK | `` | +| 400 BAD_REQUEST | `Something Went Wrong` | +| 404 NOT_FOUND | `Application not found` | You may see some different errors which can be seen [here](#common-errors)