POST api/Bas/UpdateStudentTxn
修改
Request Information
URI Parameters
None.
Body Parameters
UpdateStudentTxnCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| UId | string |
None. |
|
| StudentId | string |
Required |
|
| TransactionType | integer |
None. |
|
| TransactionDesc | string |
None. |
|
| ExecutionResult | ServiceResult |
None. |
Request Formats
application/json, text/json
Sample:
{
"UId": "sample string 1",
"StudentId": "sample string 2",
"TransactionType": 3,
"TransactionDesc": "sample string 4",
"ExecutionResult": {
"RetCode": 1,
"Msg": "sample string 2",
"Result": {}
}
}
text/xml
Sample:
<UpdateStudentTxnCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Bas.Commands">
<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>
<StudentId>sample string 2</StudentId>
<TransactionDesc>sample string 4</TransactionDesc>
<TransactionType>3</TransactionType>
<UId>sample string 1</UId>
</UpdateStudentTxnCommand>
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>