POST api/ExamMarks/SaveExamMarks
Request Information
URI Parameters
None.
Body Parameters
Collection of ExamMarksModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| studentId | integer |
None. |
|
| classId | integer |
None. |
|
| sectionId | integer |
None. |
|
| marksObtained | decimal number |
None. |
|
| minMarks | decimal number |
None. |
|
| totalMarks | decimal number |
None. |
|
| typeId | integer |
None. |
|
| addedOn | date |
None. |
|
| addedByTeacherId | integer |
None. |
|
| examTypeId | integer |
None. |
|
| courseId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"studentId": 2,
"classId": 3,
"sectionId": 4,
"marksObtained": 5.1,
"minMarks": 6.1,
"totalMarks": 7.1,
"typeId": 8,
"addedOn": "2026-06-22T02:28:16.1307568-07:00",
"addedByTeacherId": 10,
"examTypeId": 11,
"courseId": 12
},
{
"id": 1,
"studentId": 2,
"classId": 3,
"sectionId": 4,
"marksObtained": 5.1,
"minMarks": 6.1,
"totalMarks": 7.1,
"typeId": 8,
"addedOn": "2026-06-22T02:28:16.1307568-07:00",
"addedByTeacherId": 10,
"examTypeId": 11,
"courseId": 12
}
]
application/xml, text/xml
Sample:
<ArrayOfExamMarksModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
<ExamMarksModel>
<addedByTeacherId>10</addedByTeacherId>
<addedOn>2026-06-22T02:28:16.1307568-07:00</addedOn>
<classId>3</classId>
<courseId>12</courseId>
<examTypeId>11</examTypeId>
<id>1</id>
<marksObtained>5.1</marksObtained>
<minMarks>6.1</minMarks>
<sectionId>4</sectionId>
<studentId>2</studentId>
<totalMarks>7.1</totalMarks>
<typeId>8</typeId>
</ExamMarksModel>
<ExamMarksModel>
<addedByTeacherId>10</addedByTeacherId>
<addedOn>2026-06-22T02:28:16.1307568-07:00</addedOn>
<classId>3</classId>
<courseId>12</courseId>
<examTypeId>11</examTypeId>
<id>1</id>
<marksObtained>5.1</marksObtained>
<minMarks>6.1</minMarks>
<sectionId>4</sectionId>
<studentId>2</studentId>
<totalMarks>7.1</totalMarks>
<typeId>8</typeId>
</ExamMarksModel>
</ArrayOfExamMarksModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| statusCode | integer |
None. |
|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| ErrorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"statusCode": 1,
"status": true,
"message": "sample string 3",
"data": {},
"errorCode": 5
}
application/xml, text/xml
Sample:
<ApiResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorCode>5</ErrorCode> <data /> <message>sample string 3</message> <status>true</status> <statusCode>1</statusCode> </ApiResponseResult>