/basic_details.php GET 2 All

This end point will fetch overall academic details of the user. For example, Overall Average Score Percentage, Number of Marks entered, Best three subjects, worst three subjects, etc.

Request     Test

Parameter Type Description
stud_id number this is the id of the user.
pass string this is the user's password.
profile null just add this variable without any value.

Response Auth Error

{
   "code":351,
   "msg":"User is unauthorized"
}

Response Param Error

{
   "code":-9999,
   "response":"Parameter Error"
}

Response Success

{
   "code":202,
   "average":{
      "code":202,
      "response":{
         "value":"84.19047619"
      }
   },
   "top_three":{
      "code":202,
      "response":[
         {
            "average":"96.333333",
            "subject_name":"Computer",
            "term_name":"Semester 2"
         },
         {
            "average":"92.333333",
            "subject_name":"Chemistry",
            "term_name":"Semester 2"
         },
         {
            "average":"83.666667",
            "subject_name":"Biology",
            "term_name":"Semester 2"
         }
      ]
   },
   "bottom_three":{
      "code":202,
      "response":[
         {
            "average":"74.666667",
            "subject_name":"Mechanics",
            "term_name":"Semester 1"
         },
         {
            "average":"77.666667",
            "subject_name":"Maths",
            "term_name":"Semester 1"
         },
         {
            "average":"82.000000",
            "subject_name":"English",
            "term_name":"Semester 2"
         }
      ]
   },
   "all":{
      "code":202,
      "response":[
         {
            "percentage":"84.0000",
            "marks":"42",
            "full_marks":"50",
            "subject_name":"Physics",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"76.0000",
            "marks":"76",
            "full_marks":"100",
            "subject_name":"Mechanics",
            "exam_name":"Final",
            "term_name":"Semester 1"
         },
         {
            "percentage":"78.0000",
            "marks":"39",
            "full_marks":"50",
            "subject_name":"Physics",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"72.0000",
            "marks":"36",
            "full_marks":"50",
            "subject_name":"Maths",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"80.0000",
            "marks":"40",
            "full_marks":"50",
            "subject_name":"Maths",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"70.0000",
            "marks":"35",
            "full_marks":"50",
            "subject_name":"Mechanics",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"78.0000",
            "marks":"39",
            "full_marks":"50",
            "subject_name":"Mechanics",
            "exam_name":"Internal",
            "term_name":"Semester 1"
         },
         {
            "percentage":"86.0000",
            "marks":"86",
            "full_marks":"100",
            "subject_name":"Physics",
            "exam_name":"Final",
            "term_name":"Semester 1"
         },
         {
            "percentage":"81.0000",
            "marks":"81",
            "full_marks":"100",
            "subject_name":"Maths",
            "exam_name":"Final",
            "term_name":"Semester 1"
         },
         {
            "percentage":"96.0000",
            "marks":"48",
            "full_marks":"50",
            "subject_name":"Chemistry",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"90.0000",
            "marks":"45",
            "full_marks":"50",
            "subject_name":"Chemistry",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"88.0000",
            "marks":"88",
            "full_marks":"100",
            "subject_name":"English",
            "exam_name":"Final",
            "term_name":"Semester 2"
         },
         {
            "percentage":"98.0000",
            "marks":"49",
            "full_marks":"50",
            "subject_name":"Computer",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"91.0000",
            "marks":"91",
            "full_marks":"100",
            "subject_name":"Chemistry",
            "exam_name":"Final",
            "term_name":"Semester 2"
         },
         {
            "percentage":"96.0000",
            "marks":"48",
            "full_marks":"50",
            "subject_name":"Computer",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"95.0000",
            "marks":"95",
            "full_marks":"100",
            "subject_name":"Computer",
            "exam_name":"Final",
            "term_name":"Semester 2"
         },
         {
            "percentage":"82.0000",
            "marks":"41",
            "full_marks":"50",
            "subject_name":"Biology",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"83.0000",
            "marks":"83",
            "full_marks":"100",
            "subject_name":"Biology",
            "exam_name":"Final",
            "term_name":"Semester 2"
         },
         {
            "percentage":"86.0000",
            "marks":"43",
            "full_marks":"50",
            "subject_name":"Biology",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"74.0000",
            "marks":"37",
            "full_marks":"50",
            "subject_name":"English",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         },
         {
            "percentage":"84.0000",
            "marks":"42",
            "full_marks":"50",
            "subject_name":"English",
            "exam_name":"Internal",
            "term_name":"Semester 2"
         }
      ]
   }
}