Merge branch 'main' into track-object-changes

This commit is contained in:
karthik mv 2022-06-04 02:38:58 +05:30 committed by GitHub
commit 5583f173c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 870 additions and 506 deletions

View File

@ -15,6 +15,11 @@
4. [**api/admin/updateOfferAccepted**](#apiadminupdateofferaccepted) 4. [**api/admin/updateOfferAccepted**](#apiadminupdateofferaccepted)
5. [**api/admin/updateEmailVerified**](#apiadminupdateemailverified) 5. [**api/admin/updateEmailVerified**](#apiadminupdateemailverified)
6. [**api/admin/updateAdditionalInfo**](#apiadminupdateadditionalinfo) 6. [**api/admin/updateAdditionalInfo**](#apiadminupdateadditionalinfo)
7. [**api/admin/getApplications**](#apiadmingetApplications)
8. [**api/admin/submitApplication**](#apiadminsubmitApplication)
9. [**api/admin/generateCSV**](#apiadmingeneratecsv)
10. [**api/admin/addPPO**](#apiadminaddppo)
11. [**api/admin/getStudentApplication**](#apiadmingetstudentapplication)
4. [**Company APIs**](#company-portal-apis) 4. [**Company APIs**](#company-portal-apis)
1. [**api/company/addPlacement/**](#apicompanyaddplacement) 1. [**api/company/addPlacement/**](#apicompanyaddplacement)
5. [**Common Errors**](#common-errors) 5. [**Common Errors**](#common-errors)
@ -47,9 +52,7 @@ Response is a Json with these fields
{ {
"action": "Login", "action": "Login",
"message": "Verified", "message": "Verified",
"user_type": [ "user_type": ["student"]
"student"
]
} }
``` ```
@ -131,7 +134,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ---------------------- |
| 200 OK | `Details Found` | | 200 OK | `Details Found` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -240,20 +243,11 @@ Response is a Json with these fields
"is_selection_procedure_details_pdf": true, "is_selection_procedure_details_pdf": true,
"tier": "4", "tier": "4",
"tentative_date_of_joining": "2022-01-15", "tentative_date_of_joining": "2022-01-15",
"allowed_batch": [ "allowed_batch": ["2018", "2019"],
"2018", "allowed_branch": ["CSE", "EE"],
"2019"
],
"allowed_branch": [
"CSE",
"EE"
],
"tentative_no_of_offers": 5, "tentative_no_of_offers": 5,
"other_requirements": "above 8 cpi", "other_requirements": "above 8 cpi",
"additional_info": [ "additional_info": ["School", "Home Town"],
"School",
"Home Town"
],
"deadline_date": "2021-12-04", "deadline_date": "2021-12-04",
"created_at": "2021-12-02T20:12:21+05:30" "created_at": "2021-12-02T20:12:21+05:30"
} }
@ -334,20 +328,11 @@ Response is a Json with these fields
"is_selection_procedure_details_pdf": true, "is_selection_procedure_details_pdf": true,
"tier": "4", "tier": "4",
"tentative_date_of_joining": "2022-01-15", "tentative_date_of_joining": "2022-01-15",
"allowed_batch": [ "allowed_batch": ["2018", "2019"],
"2018", "allowed_branch": ["CSE", "EE"],
"2019"
],
"allowed_branch": [
"CSE",
"EE"
],
"tentative_no_of_offers": 5, "tentative_no_of_offers": 5,
"other_requirements": "above 8 cpi", "other_requirements": "above 8 cpi",
"additional_info": [ "additional_info": ["School", "Home Town"],
"School",
"Home Town"
],
"deadline_date": "2021-12-04", "deadline_date": "2021-12-04",
"created_at": "2021-12-02T20:12:21+05:30" "created_at": "2021-12-02T20:12:21+05:30"
}, },
@ -370,7 +355,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ---------------------- |
| 200 OK | `Data Found` | | 200 OK | `Data Found` |
| 404 Not Found | `Student Not Found` | | 404 Not Found | `Student Not Found` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -586,7 +571,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ---------------------- |
| 200 OK | `Marked Status` | | 200 OK | `Marked Status` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -619,6 +604,94 @@ Response is a Json with these fields
{ {
"action": "Get Dashboard - Admin", "action": "Get Dashboard - Admin",
"message": "Data Found", "message": "Data Found",
"new": [
{
"id": "Z54IRZZMB3RP9TR",
"company_details_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FI5U4RDTV0OP0EM0_2019+Student+Details+-+Total%28State+Sort%29+-+Copy.pdf",
"name": "I5U4RDTV0OP0EM0_2019 Student Details - Total(State Sort) - Copy.pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FW04JWWNNMIBX0JX_2019+Student+Details+-+Total%28State+Sort%29.pdf",
"name": "W04JWWNNMIBX0JX_2019 Student Details - Total(State Sort).pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FT1BXP98WBT9BHOR_AP0313017732021LL-Driving+Licence+-+Copy.pdf",
"name": "T1BXP98WBT9BHOR_AP0313017732021LL-Driving Licence - Copy.pdf"
}
],
"description_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FC78TE2Z67BPZ41O_CSE-V-SEM.pdf",
"name": "C78TE2Z67BPZ41O_CSE-V-SEM.pdf"
}
],
"compensation_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2F8D5OFQ46H43DD3S_module5And6Attendance.pdf",
"name": "8D5OFQ46H43DD3S_module5And6Attendance.pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FG8OU2PE919PFKSR_Print+Application11.pdf",
"name": "G8OU2PE919PFKSR_Print Application11.pdf"
}
],
"selection_procedure_details_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FDZTQQ6YBGBQ47PY_screencapture-onlinesbi-sbi-sbicollect-fsssuccessresponseredirect-htm-2021-07-19-18_",
"name": "DZTQQ6YBGBQ47PY_screencapture-onlinesbi-sbi-sbicollect-fsssuccessresponseredirect-htm-2021-07-19-18_"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FN490PUXJEEN4JZ9_screencapture-onlinesbi-sbi-sbicollect-payment-suvidhapayment-htm-2021-07-19-23_12_3",
"name": "N490PUXJEEN4JZ9_screencapture-onlinesbi-sbi-sbicollect-payment-suvidhapayment-htm-2021-07-19-23_12_3"
}
],
"company_name": "Cred",
"address": "Cred India Pvt. Ltd.5, Awagarh House, MG Road(next to Bachoomal collections)Agra (UP), - 282002India",
"company_type": "Private Sector",
"nature_of_business": "Technology",
"website": "www.cred.com",
"company_details": "This s a very nice company",
"is_company_details_pdf": true,
"contact_person_name": "John",
"phone_number": 9390291922,
"email": "@gmail.com",
"city": "Mumbai",
"state": "Maharashtra",
"country": "India",
"pin_code": 530013,
"city_type": "Domestic",
"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,
"tier": "4",
"tentative_date_of_joining": "2022-01-15",
"allowed_batch": ["2018", "2019"],
"allowed_branch": ["CSE", "EE"],
"tentative_no_of_offers": 5,
"other_requirements": "above 8 cpi",
"additional_info": ["School", "Home Town"],
"email_verified": false,
"offer_accepted": null,
"deadline_date": "2021-12-04",
"created_at": "2021-12-02T20:12:21+05:30"
}
],
"ongoing": [ "ongoing": [
{ {
"id": "Q54IRZZMC3RP8F6", "id": "Q54IRZZMC3RP8F6",
@ -696,27 +769,105 @@ Response is a Json with these fields
"is_selection_procedure_details_pdf": true, "is_selection_procedure_details_pdf": true,
"tier": "4", "tier": "4",
"tentative_date_of_joining": "2022-01-15", "tentative_date_of_joining": "2022-01-15",
"allowed_batch": [ "allowed_batch": ["2018", "2019"],
"2018", "allowed_branch": ["CSE", "EE"],
"2019"
],
"allowed_branch": [
"CSE",
"EE"
],
"tentative_no_of_offers": 5, "tentative_no_of_offers": 5,
"other_requirements": "above 8 cpi", "other_requirements": "above 8 cpi",
"additional_info": [ "additional_info": ["School", "Home Town"],
"School",
"Home Town"
],
"email_verified": false, "email_verified": false,
"offer_accepted": null, "offer_accepted": null,
"deadline_date": "2021-12-04", "deadline_date": "2021-12-04",
"created_at": "2021-12-02T20:12:21+05:30" "created_at": "2021-12-02T20:12:21+05:30"
} }
], ],
"previous": [] "previous": [
{
"id": "Q74IRZZMC3RP8F6",
"company_details_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FI5U4RDTV0OP0EM0_2019+Student+Details+-+Total%28State+Sort%29+-+Copy.pdf",
"name": "I5U4RDTV0OP0EM0_2019 Student Details - Total(State Sort) - Copy.pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FW04JWWNNMIBX0JX_2019+Student+Details+-+Total%28State+Sort%29.pdf",
"name": "W04JWWNNMIBX0JX_2019 Student Details - Total(State Sort).pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FT1BXP98WBT9BHOR_AP0313017732021LL-Driving+Licence+-+Copy.pdf",
"name": "T1BXP98WBT9BHOR_AP0313017732021LL-Driving Licence - Copy.pdf"
}
],
"description_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FC78TE2Z67BPZ41O_CSE-V-SEM.pdf",
"name": "C78TE2Z67BPZ41O_CSE-V-SEM.pdf"
}
],
"compensation_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2F8D5OFQ46H43DD3S_module5And6Attendance.pdf",
"name": "8D5OFQ46H43DD3S_module5And6Attendance.pdf"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FG8OU2PE919PFKSR_Print+Application11.pdf",
"name": "G8OU2PE919PFKSR_Print Application11.pdf"
}
],
"selection_procedure_details_pdf_links": [
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FDZTQQ6YBGBQ47PY_screencapture-onlinesbi-sbi-sbicollect-fsssuccessresponseredirect-htm-2021-07-19-18_",
"name": "DZTQQ6YBGBQ47PY_screencapture-onlinesbi-sbi-sbicollect-fsssuccessresponseredirect-htm-2021-07-19-18_"
},
{
"link": "https://storage.googleapis.com/cdc-backend-attachments/company_attachments/Q54IRZZMC3RP8F6%2FN490PUXJEEN4JZ9_screencapture-onlinesbi-sbi-sbicollect-payment-suvidhapayment-htm-2021-07-19-23_12_3",
"name": "N490PUXJEEN4JZ9_screencapture-onlinesbi-sbi-sbicollect-payment-suvidhapayment-htm-2021-07-19-23_12_3"
}
],
"company_name": "Make My Trip",
"address": "MakeMyTrip India Pvt. Ltd.5, Awagarh House, MG Road(next to Bachoomal collections)Agra (UP), - 282002India",
"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",
"pin_code": 530013,
"city_type": "Domestic",
"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,
"tier": "4",
"tentative_date_of_joining": "2022-01-15",
"allowed_batch": ["2018", "2019"],
"allowed_branch": ["CSE", "EE"],
"tentative_no_of_offers": 5,
"other_requirements": "above 8 cpi",
"additional_info": ["School", "Home Town"],
"email_verified": false,
"offer_accepted": null,
"deadline_date": "2021-12-04",
"created_at": "2021-12-02T20:12:21+05:30"
}
]
} }
``` ```
@ -724,13 +875,14 @@ Response is a Json with these fields
- message: Tells us what happened with our Request. - message: Tells us what happened with our Request.
- ongoing: Gives us the list of placements that are accepting applications. - ongoing: Gives us the list of placements that are accepting applications.
- previous: Gives us the list of placements that stopped accepting applications. - previous: Gives us the list of placements that stopped accepting applications.
- new : Gives us the list of placements that is not yet accepeted by CDC.
### Status Codes ### Status Codes
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ---------------------- |
| 200 OK | `Data Found` | | 200 OK | `Data Found` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -776,7 +928,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ---------------------- |
| 200 OK | `Deadline Updated` | | 200 OK | `Deadline Updated` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -822,7 +974,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ----------------------- |
| 200 OK | `Update Offer Accepted` | | 200 OK | `Update Offer Accepted` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -888,11 +1040,7 @@ Request_Body:
```json ```json
{ {
"opening_id": "Q54IRZZMC3RP8F6", "opening_id": "Q54IRZZMC3RP8F6",
"additional_info": [ "additional_info": ["School", "Place of Living", "Research Interests"]
"School",
"Place of Living",
"Research Interests"
]
} }
``` ```
@ -918,7 +1066,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| --------------- | ------------------------ | | --------------- | ------------------------- |
| 200 OK | `Additional Info Updated` | | 200 OK | `Additional Info Updated` |
| 400 BAD_REQUEST | `Something Went Wrong` | | 400 BAD_REQUEST | `Something Went Wrong` |
@ -926,6 +1074,294 @@ You may see some different errors which can be seen [here](#common-errors)
--- ---
<!-- new branch -->
## `api/admin/getApplications`
This api is used to fetch all the applications applied by students for all placements
### How to Use?
Send a `POST` request to `api/admin/getApplications`<br>
Request_Body:
```json
{
"opening_id": "Q54IRZZMC3RP8F6"
}
```
> Headers <br>
> Authorization: "Bearer {tokenID}"
### Response
Response is a Json with these fields
```json
{
"action": "Get Applications",
"message": "Data Found",
"applications": [
{
"id": "200010021",
"student_details": {
"id": "200010021",
"resume_list": [
{
"link": "http://localhost/storage/Resumes/200010021/resume_link",
"name": "resume_link"
}
],
"offers": [
{
"designation": "sde",
"company_name": "JP Morgan",
"application_id": "200010021",
"placement_offer_type": "Normal"
}
],
"roll_no": 200010021,
"name": "John",
"batch": "2020",
"branch": "CSE",
"phone_number": 8105699450,
"cpi": "9.00",
"can_apply": true
},
"resume_link": {
"link": "http://localhost/storage/Resumes/200010021/resume_links",
"name": "resume_links"
},
"additional_info": null,
"selected": true,
"applied_at": "2022-05-30T19:15:33+05:30",
"updated_at": "2022-05-30T19:16:31.662929+05:30",
"student": "200010021"
}
]
}
```
- action: Tells us about the message creator<Br>
- message: Tells us what happened with our Request.
### Status Codes
The possible responses for this api request are as follows
| Status Codes | Possible Messages |
| --------------- | ---------------------- |
| 200 OK | `Data Found` |
| 400 BAD_REQUEST | `Something Went Wrong` |
You may see some different errors which can be seen [here](#common-errors)
---
## `api/admin/submitApplication`
This api is used to submit a students application
Request_Body:
```json
{
"applications_id": "F28IRGGMC3RP8Y8",
"student_id": "200010022",
"opening_id": "Q54IRZZMC3RP8F6",
"additional_info": {
"School": "Lions International",
"City": "Banglore"
},
"resume_file_name": "8KIOT3PW1JIS718_CSE-V-SEM.pdf"
}
```
> Headers <br>
> Authorization: "Bearer {tokenID}"
### Response
Response is a Json with these fields
```json
{
"action": "Add Student Application",
"message": "Application Added"
}
```
### 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)
---
## `api/admin/generateCSV`
This api is used to generate a CSV file that contains sequential details of all the applications
Request_Body:
```json
{
"opening_id": "Q54IRZZMC3RP8F6"
}
```
> Headers <br>
> Authorization: "Bearer {tokenID}"
### Response
Response is a Json with these fields
```json
{
"action": "Create CSV",
"message": "CSV Created",
"file": "csv_file_link"
}
```
### Status Codes
The possible responses for this api request are as follows
| Status Codes | Possible Messages |
| --------------- | ---------------------- |
| 200 OK | `CSV created` |
| 400 BAD_REQUEST | `Something Went Wrong` |
You may see some different errors which can be seen [here](#common-errors)
---
## `api/admin/addPPO`
This api is used to add a PPO for a student in the corresponding company
Request_Body:
```json
{
"company_name": "Geeks for Geeks",
"compensation_gross": "1000000",
"offer_accepted": "true",
"student_id": "200010022",
"designation": "Technical Content Writer",
"tier": "4"
}
```
### Response
Response is a Json with these fields
```json
{
"action": "Add PPO",
"message": "PPO Added"
}
```
### Status Codes
The possible responses for this api request are as follows
| Status Codes | Possible Messages |
| --------------- | ---------------------- |
| 200 OK | `PPO Added` |
| 400 BAD_REQUEST | `Something Went Wrong` |
You may see some different errors which can be seen [here](#common-errors)
---
## `api/admin/getStudentApplication`
This api is used to fetch the application details of the required student
Request_Body:
```json
{
"student_id": "200010022",
"opening_id": "Q54IRZZMC3RP8F6"
}
```
> Headers <br>
> Authorization: "Bearer {tokenID}"
### Response
Response is a Json with these fields when the application is found.
```json
{
"action": "Get Student Application",
"application_found": "true",
"application_info": {
"id": "F28IRGGMC3RP8Y8",
"additional_info": {
"12th grade": "9.1",
"current GPA": "9.6"
},
"resume": "resume_link"
},
"student_details": {
"name": "John",
"batch": "2020",
"branch": "MMAE",
"resume_list": {
"link": "http://localhost/storage/Resumes/200010021/resume_links",
"name": "resume_link"
}
}
}
```
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": {
"link": "http://localhost/storage/Resumes/200010021/resume_links",
"name": "resume_link"
}
}
}
```
### Status Codes
The possible responses for this api request are as follows
| 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)
---
# Company Portal APIs # Company Portal APIs
## `api/company/addPlacement/` ## `api/company/addPlacement/`
@ -940,113 +1376,45 @@ Request_Body:
```json ```json
{ {
"company_name": [ "company_name": ["Make My Trip"],
"Make My Trip"
],
"address": [ "address": [
"MakeMyTrip India Pvt. Ltd.\n5, Awagarh House, MG Road\n(next to Bachoomal collections)\nAgra (UP), - 282002\nIndia" "MakeMyTrip India Pvt. Ltd.\n5, Awagarh House, MG Road\n(next to Bachoomal collections)\nAgra (UP), - 282002\nIndia"
], ],
"company_type": [ "company_type": ["Private Sector"],
"Private Sector" "nature_of_business": ["Technology"],
], "website": ["www.makemytrip.com"],
"nature_of_business": [ "company_details": ["This s a very nice company"],
"Technology" "is_company_details_pdf": ["true"],
], "contact_person_name": ["Gowtham"],
"website": [ "phone_number": ["9390291911"],
"www.makemytrip.com" "email": ["saisurya3127@gmail.com"],
], "city": ["Mumbai"],
"company_details": [ "state": ["Maharashtra"],
"This s a very nice company" "country": ["India"],
], "pincode": ["530013"],
"is_company_details_pdf": [ "designation": ["Software Developer"],
"true" "description": ["very nice job"],
], "is_description_pdf": ["true"],
"contact_person_name": [ "compensation_ctc": ["1200000"],
"Gowtham" "compensation_gross": ["1100000"],
], "compensation_take_home": ["1000000"],
"phone_number": [ "compensation_bonus": ["10000"],
"9390291911" "compensation_details": ["very good compensation"],
], "is_compensation_details_pdf": ["true"],
"email": [ "bond_details": ["nil"],
"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": [ "selection_procedure_rounds": [
"['Resume Shortlisting', 'Technical Interview', 'HR Interview']" "['Resume Shortlisting', 'Technical Interview', 'HR Interview']"
], ],
"selection_procedure_details": [ "selection_procedure_details": ["All rounds are complusory"],
"All rounds are complusory" "is_selection_procedure_details_pdf": ["true"],
], "tentative_date_of_joining": ["15-01-2022"],
"is_selection_procedure_details_pdf": [ "allowed_branch": ["['CSE', 'EE']"],
"true" "tentative_no_of_offers": ["5"],
], "other_requirements": ["above 8 cpi"],
"tentative_date_of_joining": [ "company_details_pdf": ["__FILE_OBJECT__", "__FILE_OBJECT__"],
"15-01-2022" "description_pdf": ["__FILE_OBJECT__"],
], "compensation_details_pdf": ["__FILE_OBJECT__"],
"allowed_branch": [ "selection_procedure_details_pdf": ["__FILE_OBJECT__", "__FILE_OBJECT__"]
"['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 +1440,7 @@ Response is a Json with these fields
The possible responses for this api request are as follows The possible responses for this api request are as follows
| Status Codes | Possible Messages | | Status Codes | Possible Messages |
| ------------- | ----------------- | | ------------- | ------------------------------ |
| 200 OK | `Placement Added Successfully` | | 200 OK | `Placement Added Successfully` |
| 404 NOT FOUND | `Something went wrong` | | 404 NOT FOUND | `Something went wrong` |
@ -1092,7 +1460,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 | | 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 | `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. | | 400 BAD_REQUEST | `Something went wrong` | Any random Error which can be seen in the {error} string. |