submitApplication

This commit is contained in:
jp-karthik 2022-05-29 12:05:57 +05:30
parent 024018a920
commit 6be4702888
1 changed files with 43 additions and 1 deletions

View File

@ -16,6 +16,7 @@
5. [**api/admin/updateEmailVerified**](#apiadminupdateemailverified)
6. [**api/admin/updateAdditionalInfo**](#apiadminupdateadditionalinfo)
7. [**api/admin/getApplications**](#apiadmingetApplications)
8. [**api/admin/submitApplication**](#apiadminsubmitApplication)
4. [**Company APIs**](#company-portal-apis)
1. [**api/company/addPlacement/**](#apicompanyaddplacement)
5. [**Common Errors**](#common-errors)
@ -919,7 +920,7 @@ Response is a Json with these fields
{
"action": "Get Applications",
"message": "Data Found",
"applications": "[]"
"applications": []
}
```
@ -939,6 +940,47 @@ You may see some different errors which can be seen [here](#common-errors)
---
## `api/admin/submitApplication`
This api is used to
Request_Body:
```json
{
"applications_id": "",
"student_id": "",
"opening_id": "Q54IRZZMC3RP8F6",
"additional_info": "",
"resume_file_name": ""
}
```
### Response
Response is a Json with these fields
```json
{
"action": "Add Student Application",
"message": "Application Added",
"applications": []
}
```
### Status Codes
The possible responses for this api request are as follows
| Status Codes | Possible Messages |
| --------------- | ---------------------- |
| 200 OK | `Application Added` |
| 400 BAD_REQUEST | `Something Went Wrong` |
You may see some different errors which can be seen [here](#common-errors)
---
# Company Portal APIs
## `api/company/addPlacement/`