application example json object added

This commit is contained in:
jp-karthik 2022-05-30 19:25:14 +05:30
parent ae4373af71
commit b1a42df7f6
1 changed files with 48 additions and 3 deletions

View File

@ -1102,7 +1102,44 @@ Response is a Json with these fields
{ {
"action": "Get Applications", "action": "Get Applications",
"message": "Data Found", "message": "Data Found",
"applications": [] "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"
}
]
} }
``` ```
@ -1275,7 +1312,10 @@ Response is a Json with these fields when the application is found.
"application_found": "true", "application_found": "true",
"application_info": { "application_info": {
"id": "F28IRGGMC3RP8Y8", "id": "F28IRGGMC3RP8Y8",
"additional_info": , "additional_info": {
"12th grade" : "9.1",
"current GPA": "9.6"
},
"resume": "resume_link" "resume": "resume_link"
}, },
"student_details": { "student_details": {
@ -1297,11 +1337,16 @@ Response is a Json with these fields when the applciation is not found.
"name": "John", "name": "John",
"batch": "2020", "batch": "2020",
"branch": "MMAE", "branch": "MMAE",
"resume_list": "resume_link": {
"link": "http://localhost/storage/Resumes/200010021/resume_links",
"name": "resume_links"
}
} }
} }
``` ```
"resume_link": {link: "http://localhost/storage/Resumes/200010021/resume_links", name: "resume_links"}
### Status Codes ### Status Codes
The possible responses for this api request are as follows The possible responses for this api request are as follows