POST api/Ems/UpdateExamStudent
修改参考学生
Request Information
URI Parameters
None.
Body Parameters
UpdateExamStudentCommandName | Description | Type | Additional information |
---|---|---|---|
ExamStudentId | string |
None. |
|
StudentCode | string |
Required |
|
TestNo | string |
None. |
|
StudentName | string |
Required |
|
ClassId | string |
Required |
|
IsThree | integer |
None. |
|
IsBorrow | integer |
None. |
|
IsSpecia | integer |
None. |
|
IsScience | integer |
None. |
|
IsForeign | integer |
None. |
|
RoomId | string |
None. |
|
SeatNo | string |
None. |
|
ExecutionResult | ServiceResult |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExamStudentId": "sample string 1", "StudentCode": "sample string 2", "TestNo": "sample string 3", "StudentName": "sample string 4", "ClassId": "sample string 5", "IsThree": 6, "IsBorrow": 7, "IsSpecia": 8, "IsScience": 9, "IsForeign": 1, "RoomId": "sample string 10", "SeatNo": "sample string 11", "ExecutionResult": { "RetCode": 1, "Msg": "sample string 2", "Result": {} } }
text/xml
Sample:
<UpdateExamStudentCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ems.Commands"> <ClassId>sample string 5</ClassId> <ExamStudentId>sample string 1</ExamStudentId> <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>7</IsBorrow> <IsForeign>1</IsForeign> <IsScience>9</IsScience> <IsSpecia>8</IsSpecia> <IsThree>6</IsThree> <RoomId>sample string 10</RoomId> <SeatNo>sample string 11</SeatNo> <StudentCode>sample string 2</StudentCode> <StudentName>sample string 4</StudentName> <TestNo>sample string 3</TestNo> </UpdateExamStudentCommand>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResultName | 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>