feedback and account methods
Personal data, bank, password, hostel, fees, fines, and fill_feedback_form.
Account reads and password#
flowchart TB S[session] --> P[get_personal_info] S --> B[get_student_bank_info] S --> C[change_password] S --> H[get_hostel_details] S --> F[get_fee_summary] S --> N[get_fines_msc_charges]
get_personal_info#
POST /studentpersinfo/getstudent-personalinformation
{ clinetid: "SOAU", instituteid }
Portal key is clinetid. Plain JSON. Returns resp.response.
get_student_bank_info#
POST /studentbankdetails/getstudentbankinfo
{ instituteid, studentid: this.session.memberid }
Plain JSON.
change_password(old_password, new_password)#
POST /clxuser/changepassword
{
membertype: this.session.membertype,
oldpassword: old_password,
newpassword: new_password,
confirmpassword: new_password,
}
Uses exception: AccountAPIError. Plain JSON.
get_hostel_details#
POST /myhostelallocationdetail/gethostelallocationdetail
{ clientid, instituteid, studentid: this.session.memberid }
If resp.response is missing, throws new Error("Hostel details not found") (native Error, not APIError).
get_fee_summary#
POST /studentfeeledger/loadfeesummary with { instituteid }. Plain JSON.
get_fines_msc_charges#
POST /collectionpendingpayments/getpendingpaymentsdata with encrypted { instituteid, studentid }.
JSDoc in source says a "NO APPROVED REQUEST FOUND" failure is possible. __hit still throws APIError when responseStatus !== "Success". Catch that if an empty fines list is normal.
These six names are in authenticatedMethods.
fill_feedback_form#
async fill_feedback_form(feedback_option)
Not in authenticatedMethods. test.html calls fill_feedback_form("EXCELLENT").
sequenceDiagram
participant WP as WebPortal
participant API as feedbackformcontroller
WP->>API: POST getFeedbackEvent
API-->>WP: eventList
WP->>WP: last event in eventList
WP->>API: POST getGriddataForFeedback
API-->>WP: gridData
loop each grid row
WP->>API: POST getIemQuestion
alt has questionList
WP->>WP: set rating on every question
WP->>API: POST savedatalist
else missing or error
WP->>WP: continue
end
endPOST /feedbackformcontroller/getFeedbackEventwith{ instituteid }. Takes last item ineventList(semesters[semesters.length - 1]).POST /feedbackformcontroller/getGriddataForFeedbackencrypted{ instituteid, studentid, eventid }.- For each grid row,
POST /feedbackformcontroller/getIemQuestionwith faculty/subject fields. On throw or missingquestionList, skip. - Every question gets
rating: feedback_option.facultycommentsandcoursecommentsarenull. POST /feedbackformcontroller/savedatalistwith encrypted payload.
src/feedback.js (not re-exported):
UNSATISFIED, SATISFIED, GOOD, VERY_GOOD, EXCELLENT
There is no per-question UI. One string is written onto every question for every faculty row of the latest event.
flowchart LR opt[feedback_option] --> q[each question.rating] q --> save[savedatalist]