Manage university records, student data, and upload logs
Retrieves the count of claimed student records.
{ "totalClaimed": 42 }
Retrieves all student uploaded records.
[ { "_id": "507f1f77bcf86cd799439012", "filename": "data.csv", "studentCount": 1, "notes": "", "uploadDate": "2025-06-15T16:58:58.529Z", "insertedBy": "admin_id", "claimedCount": 1, "studentDB": "507f1f77bcf86cd799439011", "studentDBCSV": "507f1f77bcf86cd799439011", "status": "completed" } ]
Retrieves a specific student list by ID.
Name | Type | Description |
---|---|---|
id | string | ID of the student list to retrieve |
{ "_id": "507f1f77bcf86cd799439011", "insertedBy": "admin", "refrenceLogID": "507f1f77bcf86cd799439012", "students": [ { "universityId": "uni123", "lockValue": "lock123", "name": "John Doe", "claimed": true, "claimedBy": "user123" } ] }
Adds a new student record.
{ "meta": { "filename": "data.csv", "studentCount": 1, "notes": "string" }, "data": [ { "universityId": "192462", "lockValue": "randomString", "name": "crytiano ronaldo" } ] }
{ "listId": "list_id", "_id": "record_id", "total": "number of all students in DB" }
Updates a specific student List item by ID.
Name | Type | Description |
---|---|---|
id | string | ID of the student List to update |
{ "student": { "universityId": "important for successful operation!", "claimed": true, "claimedBy": "user123" } }
{ "success": true, "message": "Record updated successfully" }
Deletes a specific student in List by ID.
Name | Type | Description |
---|---|---|
id | string | ID of the student List to delete |
{ "std": { "universityId": "1827288", "lockValue": "cas54qwc", "name": "shady ahmed", "claimed": "false", "claimedBy": null } }
{ "success": true, "message": "Record item deleted successfully" }
Deletes a specific record and associated list.
Name | Type | Description |
---|---|---|
recordId | string | ID of the record to delete |
listId | string | ID of the associated List |
{ "success": true, "message": "Record and student deleted successfully" }
{ "_id": "string (optional)", "ownerId": "string", "university": "string", "apiURL": "string", "apiKey": "string (optional)", "slotsTaken": "number", "totalStudents": "number", "arciveId": "UploadLog['_id'][]", "enableReg": "boolean", "lastUpdate": "Date" }
{ "_id": "string", "filename": "string (optional)", "uploadDate": "string (optional)", "insertedBy": "string (optional)", "studentCount": "number (optional)", "claimedCount": "number (optional)", "notes": "string[] (optional)", "studentDB": "StudentDB['_id'] (optional)", "status": "'completed' | 'in-progress' | 'error' | 'partial' (optional)" }
{ "filename": "string", "studentCount": "number", "notes": "string (optional)", "_id": "string (optional)", "uploadDate": "Date", "insertedBy": "string", "claimedCount": "number", "studentDB": "StudentDB['_id']", "studentDBCSV": "StudentDbMin['_id']", "status": "'completed' | 'in-progress' | 'error' | 'partial'" }
{ "_id": "string (optional)", "insertedBy": "string", "refrenceLogID": "UploadLog['_id']", "students": "ClaimableRecord[]" }
{ "universityId": "string", "lockValue": "string", "name": "string", "claimed": "boolean", "claimedBy": "string | null" }
{ "_id": "string", "listId": "string", "total": "number" }