POST api/tpl/UpdateSubjectiveQuestions
修改单条主观题
Request Information
URI Parameters
None.
Body Parameters
SubjectiveQuestions| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionsId | string |
None. |
|
| ExamCourseId | string |
None. |
|
| QuestionsName | string |
None. |
|
| SerialNo | integer |
None. |
|
| FullScore | decimal number |
None. |
|
| ReviewCount | integer |
None. |
|
| IsSubDiff | integer |
None. |
|
| Diff | decimal number |
None. |
|
| MatchMode | integer |
None. |
|
| ScoreRule | integer |
None. |
|
| IsFetch | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"QuestionsId": "sample string 1",
"ExamCourseId": "sample string 2",
"QuestionsName": "sample string 3",
"SerialNo": 4,
"FullScore": 5.0,
"ReviewCount": 6,
"IsSubDiff": 7,
"Diff": 8.0,
"MatchMode": 9,
"ScoreRule": 10,
"IsFetch": 11
}
text/xml
Sample:
<SubjectiveQuestions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Tpl.Entities"> <Diff>8</Diff> <ExamCourseId>sample string 2</ExamCourseId> <FullScore>5</FullScore> <IsFetch>11</IsFetch> <IsSubDiff>7</IsSubDiff> <MatchMode>9</MatchMode> <QuestionsId>sample string 1</QuestionsId> <QuestionsName>sample string 3</QuestionsName> <ReviewCount>6</ReviewCount> <ScoreRule>10</ScoreRule> <SerialNo>4</SerialNo> </SubjectiveQuestions>
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>