POST api/Manage/SaveJudge
Request Information
URI Parameters
None.
Body Parameters
JudgeQuestionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LisJudge | Collection of JudgeQuestion |
None. |
|
| OpenId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LisJudge": [
{
"Id": 1,
"NCore": 2
},
{
"Id": 1,
"NCore": 2
}
],
"OpenId": "sample string 1"
}
application/xml, text/xml
Sample:
<JudgeQuestionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
<OpenId>sample string 1</OpenId>
<LisJudge>
<JudgeQuestion>
<Id>1</Id>
<NCore>2</NCore>
</JudgeQuestion>
<JudgeQuestion>
<Id>1</Id>
<NCore>2</NCore>
</JudgeQuestion>
</LisJudge>
</JudgeQuestionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| msg | string |
None. |
|
| code | integer |
None. |
|
| total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"msg": "sample string 1",
"code": 2,
"total": 3
}
application/xml, text/xml
Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> </BaseResponse>