Closed rohitsamagra closed 5 months ago
@karntrehan Updated this ticket - please let me know if I need to give more clarity here - thanks
@rohitsamagra Can you please elaborate more, what do you mean by should be able to access student level data as part of mentor assessments API
do we need data like :-
[
{
"block_name": "Achhnera",
"class": 1,
"created_at": "2023-10-30 11:34:27.486",
"district_name": "AGRA",
"phone_no": "9997883967",
"result": "NOT NIPUN",
"student": {
"class": 1,
"gender": "female",
"roll_no": 7509,
"student_id": "038264384",
"student_name": "Rashi kumari",
"udise": 9150200401
},
"udise": 9150200401,
"user_type": "teacher"
},
{
"block_name": "Achhnera",
"class": 1,
"created_at": "2023-11-16 10:31:13.722",
"district_name": "AGRA",
"phone_no": "9997883967",
"result": "NOT NIPUN",
"student": {
"class": 1,
"gender": "female",
"roll_no": 7509,
"student_id": "038264384",
"student_name": "Rashi kumari",
"udise": 9150200401
},
"udise": 9150200401,
"user_type": "teacher"
}
]
Single API to be shared for both mentor and teacher. If student ID not available NULL to be sent @Ajay-Maury
PR up by Ajay.
Deployed to Prod. curl:-
curl --location 'http://103.154.251.109:8000/data/student-assessment-data?limit=10&offset=0&from_date=2022-01-01&to_date=2034-02-01&actor_type=mentor' \
--header 'Authorization: Bearer <auth-token>'
In this actor_type
query is optional, It can be used as an actor filter like actor_type=mentor
or actor_type=teacher
or anything else.
student_id = NULL
but in API it is not returing those students assessment in response.assessment_result_nl_dashboard_v2
not contain any NULL student_id data.
Goal: Update "mentor assessments API" to show students
Acceptance Criteria: Technosys to be able to access student level data in mentor assessments API
Telemetry Information: None specific
Test Cases: Access the API and should be able to access student level data as part of mentor assessments API