POST api/student/promotion/Save
Request Information
URI Parameters
None.
Body Parameters
Systemic.Model.Student.mlPromotion+PromoteStudents| Name | description | Type | Additional information |
|---|---|---|---|
| academicInfo | Systemic.Model.Student.mlPromotion+AcademicInfo |
None. |
|
| prvYrStudentList | Collection of Systemic.Model.Student.mlPromotion+PromotionInfo |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"academicInfo": {
"AcademicYearSysID": 1,
"ClassSysID": 2,
"SectionSysID": 3
},
"prvYrStudentList": [
{
"PromotionSysID": 1,
"AcademicYearSysID": 2,
"StudentSysID": 3,
"StudentName": "sample string 4",
"ClassSysID": 5,
"SectionSysID": 6,
"IsActive": true,
"IsDeleted": true
},
{
"PromotionSysID": 1,
"AcademicYearSysID": 2,
"StudentSysID": 3,
"StudentName": "sample string 4",
"ClassSysID": 5,
"SectionSysID": 6,
"IsActive": true,
"IsDeleted": true
}
]
}
text/xml
Sample:
<mlPromotion.PromoteStudents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Student">
<academicInfo>
<AcademicYearSysID>1</AcademicYearSysID>
<ClassSysID>2</ClassSysID>
<SectionSysID>3</SectionSysID>
</academicInfo>
<prvYrStudentList>
<mlPromotion.PromotionInfo>
<AcademicYearSysID>2</AcademicYearSysID>
<ClassSysID>5</ClassSysID>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<PromotionSysID>1</PromotionSysID>
<SectionSysID>6</SectionSysID>
<StudentName>sample string 4</StudentName>
<StudentSysID>3</StudentSysID>
</mlPromotion.PromotionInfo>
<mlPromotion.PromotionInfo>
<AcademicYearSysID>2</AcademicYearSysID>
<ClassSysID>5</ClassSysID>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<PromotionSysID>1</PromotionSysID>
<SectionSysID>6</SectionSysID>
<StudentName>sample string 4</StudentName>
<StudentSysID>3</StudentSysID>
</mlPromotion.PromotionInfo>
</prvYrStudentList>
</mlPromotion.PromoteStudents>
response Information
Resource description
Api.Server.ServerResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
None. |
|
| success | Api.Server.MlSuccess |
None. |
|
| failure | Api.Server.MlError |
None. |
response Formats
application/json, text/json, text/html
Sample:
{
"response": "sample string 1",
"success": null,
"failure": null
}
text/xml
Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server"> <failure i:nil="true" /> <response>sample string 1</response> <success i:nil="true" /> </ServerResponse>