POST api/homework/stumarkpaper
试卷评分,批量评分
Request Information
URI Parameters
None.
Body Parameters
批量评分
MarkHomeWorkScoreDtoName | Description | Type | Additional information |
---|---|---|---|
PaperId |
习题编号 |
globally unique identifier |
None. |
AnswerBatchId |
答案批次编号 |
globally unique identifier |
None. |
MemberId |
学生学号 |
string |
None. |
MarkWorkScoreSet |
主观题打分集合 |
Collection of MarkWorkScoreDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaperId": "b99551e1-0285-4018-9d23-5d99e0f2aa10", "AnswerBatchId": "1a7f2048-b926-4dc9-82b8-6e535cb17394", "MemberId": "sample string 3", "MarkWorkScoreSet": [ { "PositlPath": "sample string 1", "TestId": "8b225618-5460-4806-a92b-38b5ff83cb6c", "Score": 2.1 }, { "PositlPath": "sample string 1", "TestId": "8b225618-5460-4806-a92b-38b5ff83cb6c", "Score": 2.1 } ] }
text/html
Sample:
{"PaperId":"b99551e1-0285-4018-9d23-5d99e0f2aa10","AnswerBatchId":"1a7f2048-b926-4dc9-82b8-6e535cb17394","MemberId":"sample string 3","MarkWorkScoreSet":[{"PositlPath":"sample string 1","TestId":"8b225618-5460-4806-a92b-38b5ff83cb6c","Score":2.1},{"PositlPath":"sample string 1","TestId":"8b225618-5460-4806-a92b-38b5ff83cb6c","Score":2.1}]}
application/xml, text/xml
Sample:
<MarkHomeWorkScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AnswerBatchId>1a7f2048-b926-4dc9-82b8-6e535cb17394</AnswerBatchId> <MarkWorkScoreSet> <MarkWorkScoreDto> <PositlPath>sample string 1</PositlPath> <Score>2.1</Score> <TestId>8b225618-5460-4806-a92b-38b5ff83cb6c</TestId> </MarkWorkScoreDto> <MarkWorkScoreDto> <PositlPath>sample string 1</PositlPath> <Score>2.1</Score> <TestId>8b225618-5460-4806-a92b-38b5ff83cb6c</TestId> </MarkWorkScoreDto> </MarkWorkScoreSet> <MemberId>sample string 3</MemberId> <PaperId>b99551e1-0285-4018-9d23-5d99e0f2aa10</PaperId> </MarkHomeWorkScoreDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
试卷评分,批量评分
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});