POST api/Ems/BatchUpdateExamStudent
批量修改参考学生
Request Information
URI Parameters
None.
Body Parameters
BatchUpdateExamStudentCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| ExamStudentIds | Collection of string |
None. |
|
| ClassId | string |
None. |
|
| IsThree | integer |
None. |
|
| IsBorrow | integer |
None. |
|
| IsSpecia | integer |
None. |
|
| IsScience | integer |
None. |
|
| IsForeign | integer |
None. |
|
| ExecutionResult | ServiceResult |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExamStudentIds": [
"sample string 1",
"sample string 2"
],
"ClassId": "sample string 1",
"IsThree": 1,
"IsBorrow": 1,
"IsSpecia": 1,
"IsScience": 1,
"IsForeign": 1,
"ExecutionResult": {
"RetCode": 1,
"Msg": "sample string 2",
"Result": {}
}
}
text/xml
Sample:
<BatchUpdateExamStudentCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ems.Commands">
<ClassId>sample string 1</ClassId>
<ExamStudentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ExamStudentIds>
<ExecutionResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking">
<d2p1:Msg>sample string 2</d2p1:Msg>
<d2p1:Result />
<d2p1:RetCode>1</d2p1:RetCode>
</ExecutionResult>
<IsBorrow>1</IsBorrow>
<IsForeign>1</IsForeign>
<IsScience>1</IsScience>
<IsSpecia>1</IsSpecia>
<IsThree>1</IsThree>
</BatchUpdateExamStudentCommand>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode | integer |
None. |
|
| Msg | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": 1,
"Msg": "sample string 2",
"Result": {}
}
text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking"> <Msg>sample string 2</Msg> <Result /> <RetCode>1</RetCode> </ServiceResult>