POST api/UsualPerformance/AddOrUpdate
修改平时成绩
Request Information
URI Parameters
None.
Body Parameters
UsualPerformanceInputDtoName | Description | Type | Additional information |
---|---|---|---|
PaperId |
试卷编号 |
globally unique identifier |
None. |
StuId |
学号 |
string |
None. |
Score |
得分 |
decimal number |
None. |
Material |
资料 |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaperId": "e5dc1efe-e034-42b9-8832-49e515f5889f", "StuId": "sample string 2", "Score": 3.1, "Material": [ "sample string 1", "sample string 2" ] }
text/html
Sample:
{"PaperId":"e5dc1efe-e034-42b9-8832-49e515f5889f","StuId":"sample string 2","Score":3.1,"Material":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<UsualPerformanceInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Material xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Material> <PaperId>e5dc1efe-e034-42b9-8832-49e515f5889f</PaperId> <Score>3.1</Score> <StuId>sample string 2</StuId> </UsualPerformanceInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
修改平时成绩
JsonRtnDtoOfUsualPerformanceName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | UsualPerformance |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "PaperId": "600bb4ee-33ae-4155-8420-41bb2a49b8eb", "StuId": "sample string 2", "Score": 3.1, "Material": "sample string 4", "CreatedTime": "2024-09-25T00:11:07.8120495+08:00", "LastedUpdateTime": "2024-09-25T00:11:07.8120495+08:00" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"PaperId":"600bb4ee-33ae-4155-8420-41bb2a49b8eb","StuId":"sample string 2","Score":3.1,"Material":"sample string 4","CreatedTime":"2024-09-25T00:11:07.8120495+08:00","LastedUpdateTime":"2024-09-25T00:11:07.8120495+08:00"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfUsualPerformancemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:CreatedTime>2024-09-25T00:11:07.8120495+08:00</d2p1:CreatedTime> <d2p1:LastedUpdateTime>2024-09-25T00:11:07.8120495+08:00</d2p1:LastedUpdateTime> <d2p1:Material>sample string 4</d2p1:Material> <d2p1:PaperId>600bb4ee-33ae-4155-8420-41bb2a49b8eb</d2p1:PaperId> <d2p1:Score>3.1</d2p1:Score> <d2p1:StuId>sample string 2</d2p1:StuId> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfUsualPerformancemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PaperId":"600bb4ee-33ae-4155-8420-41bb2a49b8eb","StuId":"sample string 2","Score":3.1,"Material":"sample string 4","CreatedTime":"2024-09-25T00:11:07.8120495+08:00","LastedUpdateTime":"2024-09-25T00:11:07.8120495+08:00"}});