Authorization: Bearer ********************curl --location --request POST 'https://apidev.edufee.online/api/exam/institute-wise-exam-code-store' \
--header 'Authorization: Bearer <token>' \
--form 'academic_year_id=""' \
--form 'department_id=""' \
--form 'class_id[]=""' \
--form 'code_title[]=""' \
--form 'exam_code[]=""' \
--form 'mark_source[]=""'{
"errors": null,
"message": "Success",
"status_code": 201,
"payload": {
"data": {
"status": "success",
"message": "Exam codes assigned successfully.",
"saved": [
{
"institute_details_id": "12",
"institute_class_map_id": 7,
"academic_year_id": "85",
"department_id": "2",
"class_id": "32",
"academic_year": "2025",
"department_name": "school",
"class_name": "nine",
"code_title": "SC3",
"exam_code": "MCQ",
"mark_source": "Objective",
"updated_at": "2025-09-25T06:44:19.000000Z",
"created_at": "2025-09-25T06:44:19.000000Z",
"id": 8
},
{
"institute_details_id": "12",
"institute_class_map_id": 7,
"academic_year_id": "85",
"department_id": "2",
"class_id": "32",
"academic_year": "2025",
"department_name": "school",
"class_name": "nine",
"code_title": "SC4",
"exam_code": "PR",
"mark_source": "Practical",
"updated_at": "2025-09-25T06:44:19.000000Z",
"created_at": "2025-09-25T06:44:19.000000Z",
"id": 9
},
{
"institute_details_id": "12",
"institute_class_map_id": 7,
"academic_year_id": "85",
"department_id": "2",
"class_id": "35",
"academic_year": "2025",
"department_name": "school",
"class_name": "nine",
"code_title": "SC3",
"exam_code": "MCQ",
"mark_source": "Objective",
"updated_at": "2025-09-25T06:44:19.000000Z",
"created_at": "2025-09-25T06:44:19.000000Z",
"id": 10
},
{
"institute_details_id": "12",
"institute_class_map_id": 7,
"academic_year_id": "85",
"department_id": "2",
"class_id": "35",
"academic_year": "2025",
"department_name": "school",
"class_name": "nine",
"code_title": "SC4",
"exam_code": "PR",
"mark_source": "Practical",
"updated_at": "2025-09-25T06:44:19.000000Z",
"created_at": "2025-09-25T06:44:19.000000Z",
"id": 11
}
],
"duplicates": []
}
}
}