POST api/Homework/GetInfo
Request Information
URI Parameters
None.
Body Parameters
Systemic.Model.mlHomeWork+AssignmentInformation| Name | description | Type | Additional information |
|---|---|---|---|
| AssignmentSysID | integer |
None. |
|
| ClassSysID | integer |
None. |
|
| SectionSysID | integer |
None. |
|
| StudentSysID | integer |
None. |
|
| Date | string |
None. |
|
| ApprovedDate | string |
None. |
|
| WorkList | Collection of Systemic.Model.mlHomeWork+WorkList |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"AssignmentSysID": 1,
"ClassSysID": 2,
"SectionSysID": 3,
"StudentSysID": 4,
"Date": "sample string 5",
"ApprovedDate": "sample string 6",
"WorkList": [
{
"AssignmentDetailSysID": 1,
"SubjectSysID": 2,
"SubjectName": "sample string 3",
"Work": "sample string 4",
"ReferenceURL": "sample string 5"
},
{
"AssignmentDetailSysID": 1,
"SubjectSysID": 2,
"SubjectName": "sample string 3",
"Work": "sample string 4",
"ReferenceURL": "sample string 5"
}
]
}
text/xml
Sample:
<mlHomeWork.AssignmentInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model">
<ApprovedDate>sample string 6</ApprovedDate>
<AssignmentSysID>1</AssignmentSysID>
<ClassSysID>2</ClassSysID>
<Date>sample string 5</Date>
<SectionSysID>3</SectionSysID>
<StudentSysID>4</StudentSysID>
<WorkList>
<mlHomeWork.WorkList>
<AssignmentDetailSysID>1</AssignmentDetailSysID>
<ReferenceURL>sample string 5</ReferenceURL>
<SubjectName>sample string 3</SubjectName>
<SubjectSysID>2</SubjectSysID>
<Work>sample string 4</Work>
</mlHomeWork.WorkList>
<mlHomeWork.WorkList>
<AssignmentDetailSysID>1</AssignmentDetailSysID>
<ReferenceURL>sample string 5</ReferenceURL>
<SubjectName>sample string 3</SubjectName>
<SubjectSysID>2</SubjectSysID>
<Work>sample string 4</Work>
</mlHomeWork.WorkList>
</WorkList>
</mlHomeWork.AssignmentInformation>
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>