first commit
This commit is contained in:
parent
73183ef4ee
commit
1fa8af673b
|
@ -47,9 +47,7 @@ Response is a Json with these fields
|
|||
{
|
||||
"action": "Login",
|
||||
"message": "Verified",
|
||||
"user_type": [
|
||||
"student"
|
||||
]
|
||||
"user_type": ["student"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -131,7 +129,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ---------------------- |
|
||||
| 200 OK | `Details Found` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -240,20 +238,11 @@ Response is a Json with these fields
|
|||
"is_selection_procedure_details_pdf": true,
|
||||
"tier": "4",
|
||||
"tentative_date_of_joining": "2022-01-15",
|
||||
"allowed_batch": [
|
||||
"2018",
|
||||
"2019"
|
||||
],
|
||||
"allowed_branch": [
|
||||
"CSE",
|
||||
"EE"
|
||||
],
|
||||
"allowed_batch": ["2018", "2019"],
|
||||
"allowed_branch": ["CSE", "EE"],
|
||||
"tentative_no_of_offers": 5,
|
||||
"other_requirements": "above 8 cpi",
|
||||
"additional_info": [
|
||||
"School",
|
||||
"Home Town"
|
||||
],
|
||||
"additional_info": ["School", "Home Town"],
|
||||
"deadline_date": "2021-12-04",
|
||||
"created_at": "2021-12-02T20:12:21+05:30"
|
||||
}
|
||||
|
@ -334,20 +323,11 @@ Response is a Json with these fields
|
|||
"is_selection_procedure_details_pdf": true,
|
||||
"tier": "4",
|
||||
"tentative_date_of_joining": "2022-01-15",
|
||||
"allowed_batch": [
|
||||
"2018",
|
||||
"2019"
|
||||
],
|
||||
"allowed_branch": [
|
||||
"CSE",
|
||||
"EE"
|
||||
],
|
||||
"allowed_batch": ["2018", "2019"],
|
||||
"allowed_branch": ["CSE", "EE"],
|
||||
"tentative_no_of_offers": 5,
|
||||
"other_requirements": "above 8 cpi",
|
||||
"additional_info": [
|
||||
"School",
|
||||
"Home Town"
|
||||
],
|
||||
"additional_info": ["School", "Home Town"],
|
||||
"deadline_date": "2021-12-04",
|
||||
"created_at": "2021-12-02T20:12:21+05:30"
|
||||
},
|
||||
|
@ -370,7 +350,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ---------------------- |
|
||||
| 200 OK | `Data Found` |
|
||||
| 404 Not Found | `Student Not Found` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
@ -586,7 +566,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ---------------------- |
|
||||
| 200 OK | `Marked Status` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -696,20 +676,11 @@ Response is a Json with these fields
|
|||
"is_selection_procedure_details_pdf": true,
|
||||
"tier": "4",
|
||||
"tentative_date_of_joining": "2022-01-15",
|
||||
"allowed_batch": [
|
||||
"2018",
|
||||
"2019"
|
||||
],
|
||||
"allowed_branch": [
|
||||
"CSE",
|
||||
"EE"
|
||||
],
|
||||
"allowed_batch": ["2018", "2019"],
|
||||
"allowed_branch": ["CSE", "EE"],
|
||||
"tentative_no_of_offers": 5,
|
||||
"other_requirements": "above 8 cpi",
|
||||
"additional_info": [
|
||||
"School",
|
||||
"Home Town"
|
||||
],
|
||||
"additional_info": ["School", "Home Town"],
|
||||
"email_verified": false,
|
||||
"offer_accepted": null,
|
||||
"deadline_date": "2021-12-04",
|
||||
|
@ -730,7 +701,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ---------------------- |
|
||||
| 200 OK | `Data Found` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -776,7 +747,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ---------------------- |
|
||||
| 200 OK | `Deadline Updated` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -822,7 +793,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ----------------------- |
|
||||
| 200 OK | `Update Offer Accepted` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -888,11 +859,7 @@ Request_Body:
|
|||
```json
|
||||
{
|
||||
"opening_id": "Q54IRZZMC3RP8F6",
|
||||
"additional_info": [
|
||||
"School",
|
||||
"Place of Living",
|
||||
"Research Interests"
|
||||
]
|
||||
"additional_info": ["School", "Place of Living", "Research Interests"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -918,7 +885,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| --------------- | ------------------------ |
|
||||
| --------------- | ------------------------- |
|
||||
| 200 OK | `Additional Info Updated` |
|
||||
| 400 BAD_REQUEST | `Something Went Wrong` |
|
||||
|
||||
|
@ -926,6 +893,24 @@ You may see some different errors which can be seen [here](#common-errors)
|
|||
|
||||
---
|
||||
|
||||
<!-- new branch -->
|
||||
|
||||
## `api/admin/getApplications`
|
||||
|
||||
This api is used to
|
||||
|
||||
### How to Use?
|
||||
|
||||
Send a `POST` request to `api/admin/updateAdditionalInfo`<br>
|
||||
Request_Body:
|
||||
|
||||
```json
|
||||
{
|
||||
"opening_id": "Q54IRZZMC3RP8F6",
|
||||
"additional_info": ["School", "Place of Living", "Research Interests"]
|
||||
}
|
||||
```
|
||||
|
||||
# Company Portal APIs
|
||||
|
||||
## `api/company/addPlacement/`
|
||||
|
@ -940,113 +925,45 @@ Request_Body:
|
|||
|
||||
```json
|
||||
{
|
||||
"company_name": [
|
||||
"Make My Trip"
|
||||
],
|
||||
"company_name": ["Make My Trip"],
|
||||
"address": [
|
||||
"MakeMyTrip India Pvt. Ltd.\n5, Awagarh House, MG Road\n(next to Bachoomal collections)\nAgra (UP), - 282002\nIndia"
|
||||
],
|
||||
"company_type": [
|
||||
"Private Sector"
|
||||
],
|
||||
"nature_of_business": [
|
||||
"Technology"
|
||||
],
|
||||
"website": [
|
||||
"www.makemytrip.com"
|
||||
],
|
||||
"company_details": [
|
||||
"This s a very nice company"
|
||||
],
|
||||
"is_company_details_pdf": [
|
||||
"true"
|
||||
],
|
||||
"contact_person_name": [
|
||||
"Gowtham"
|
||||
],
|
||||
"phone_number": [
|
||||
"9390291911"
|
||||
],
|
||||
"email": [
|
||||
"saisurya3127@gmail.com"
|
||||
],
|
||||
"city": [
|
||||
"Mumbai"
|
||||
],
|
||||
"state": [
|
||||
"Maharashtra"
|
||||
],
|
||||
"country": [
|
||||
"India"
|
||||
],
|
||||
"pincode": [
|
||||
"530013"
|
||||
],
|
||||
"designation": [
|
||||
"Software Developer"
|
||||
],
|
||||
"description": [
|
||||
"very nice job"
|
||||
],
|
||||
"is_description_pdf": [
|
||||
"true"
|
||||
],
|
||||
"compensation_ctc": [
|
||||
"1200000"
|
||||
],
|
||||
"compensation_gross": [
|
||||
"1100000"
|
||||
],
|
||||
"compensation_take_home": [
|
||||
"1000000"
|
||||
],
|
||||
"compensation_bonus": [
|
||||
"10000"
|
||||
],
|
||||
"compensation_details": [
|
||||
"very good compensation"
|
||||
],
|
||||
"is_compensation_details_pdf": [
|
||||
"true"
|
||||
],
|
||||
"bond_details": [
|
||||
"nil"
|
||||
],
|
||||
"company_type": ["Private Sector"],
|
||||
"nature_of_business": ["Technology"],
|
||||
"website": ["www.makemytrip.com"],
|
||||
"company_details": ["This s a very nice company"],
|
||||
"is_company_details_pdf": ["true"],
|
||||
"contact_person_name": ["Gowtham"],
|
||||
"phone_number": ["9390291911"],
|
||||
"email": ["saisurya3127@gmail.com"],
|
||||
"city": ["Mumbai"],
|
||||
"state": ["Maharashtra"],
|
||||
"country": ["India"],
|
||||
"pincode": ["530013"],
|
||||
"designation": ["Software Developer"],
|
||||
"description": ["very nice job"],
|
||||
"is_description_pdf": ["true"],
|
||||
"compensation_ctc": ["1200000"],
|
||||
"compensation_gross": ["1100000"],
|
||||
"compensation_take_home": ["1000000"],
|
||||
"compensation_bonus": ["10000"],
|
||||
"compensation_details": ["very good compensation"],
|
||||
"is_compensation_details_pdf": ["true"],
|
||||
"bond_details": ["nil"],
|
||||
"selection_procedure_rounds": [
|
||||
"['Resume Shortlisting', 'Technical Interview', 'HR Interview']"
|
||||
],
|
||||
"selection_procedure_details": [
|
||||
"All rounds are complusory"
|
||||
],
|
||||
"is_selection_procedure_details_pdf": [
|
||||
"true"
|
||||
],
|
||||
"tentative_date_of_joining": [
|
||||
"15-01-2022"
|
||||
],
|
||||
"allowed_branch": [
|
||||
"['CSE', 'EE']"
|
||||
],
|
||||
"tentative_no_of_offers": [
|
||||
"5"
|
||||
],
|
||||
"other_requirements": [
|
||||
"above 8 cpi"
|
||||
],
|
||||
"company_details_pdf": [
|
||||
"__FILE_OBJECT__",
|
||||
"__FILE_OBJECT__"
|
||||
],
|
||||
"description_pdf": [
|
||||
"__FILE_OBJECT__"
|
||||
],
|
||||
"compensation_details_pdf": [
|
||||
"__FILE_OBJECT__"
|
||||
],
|
||||
"selection_procedure_details_pdf": [
|
||||
"__FILE_OBJECT__",
|
||||
"__FILE_OBJECT__"
|
||||
]
|
||||
"selection_procedure_details": ["All rounds are complusory"],
|
||||
"is_selection_procedure_details_pdf": ["true"],
|
||||
"tentative_date_of_joining": ["15-01-2022"],
|
||||
"allowed_branch": ["['CSE', 'EE']"],
|
||||
"tentative_no_of_offers": ["5"],
|
||||
"other_requirements": ["above 8 cpi"],
|
||||
"company_details_pdf": ["__FILE_OBJECT__", "__FILE_OBJECT__"],
|
||||
"description_pdf": ["__FILE_OBJECT__"],
|
||||
"compensation_details_pdf": ["__FILE_OBJECT__"],
|
||||
"selection_procedure_details_pdf": ["__FILE_OBJECT__", "__FILE_OBJECT__"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1072,7 +989,7 @@ Response is a Json with these fields
|
|||
The possible responses for this api request are as follows
|
||||
|
||||
| Status Codes | Possible Messages |
|
||||
| ------------- | ----------------- |
|
||||
| ------------- | ------------------------------ |
|
||||
| 200 OK | `Placement Added Successfully` |
|
||||
| 404 NOT FOUND | `Something went wrong` |
|
||||
|
||||
|
@ -1092,7 +1009,3 @@ Some common errors that you may see while accessing the Apis
|
|||
| 404 NOT FOUND | `User Not Found. Contact CDC for more details` | You may not be a user at CDC, IIT Dharwad. Please contact us to get your user account |
|
||||
| 400 BAD_REQUEST | `Error Occurred` | Any random Error which can be seen in the {error} string. |
|
||||
| 400 BAD_REQUEST | `Something went wrong` | Any random Error which can be seen in the {error} string. |
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue