POST api/retest/SetReTestKnowledgeAndDifficulty

Request Information

URI Parameters

None.

Body Parameters

ReTestKnowledgeAndDifficultyInput
NameDescriptionTypeAdditional information
PaperId

globally unique identifier

None.

ReTestKnowledgeAndDifficultyItems

Collection of ReTestKnowledgeAndDifficultyItem

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "10ede838-0a6c-4502-a1da-cf9a4a372221",
  "ReTestKnowledgeAndDifficultyItems": [
    {
      "RetestId": "19c28371-54ea-47df-983c-6d109908a51e",
      "Difficulty": 1,
      "Knowledge": "sample string 2"
    },
    {
      "RetestId": "19c28371-54ea-47df-983c-6d109908a51e",
      "Difficulty": 1,
      "Knowledge": "sample string 2"
    }
  ]
}

text/html

Sample:
{"PaperId":"10ede838-0a6c-4502-a1da-cf9a4a372221","ReTestKnowledgeAndDifficultyItems":[{"RetestId":"19c28371-54ea-47df-983c-6d109908a51e","Difficulty":1,"Knowledge":"sample string 2"},{"RetestId":"19c28371-54ea-47df-983c-6d109908a51e","Difficulty":1,"Knowledge":"sample string 2"}]}

application/xml, text/xml

Sample:
<ReTestKnowledgeAndDifficultyInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <PaperId>10ede838-0a6c-4502-a1da-cf9a4a372221</PaperId>
  <ReTestKnowledgeAndDifficultyItems>
    <ReTestKnowledgeAndDifficultyItem>
      <Difficulty>一星</Difficulty>
      <Knowledge>sample string 2</Knowledge>
      <RetestId>19c28371-54ea-47df-983c-6d109908a51e</RetestId>
    </ReTestKnowledgeAndDifficultyItem>
    <ReTestKnowledgeAndDifficultyItem>
      <Difficulty>一星</Difficulty>
      <Knowledge>sample string 2</Knowledge>
      <RetestId>19c28371-54ea-47df-983c-6d109908a51e</RetestId>
    </ReTestKnowledgeAndDifficultyItem>
  </ReTestKnowledgeAndDifficultyItems>
</ReTestKnowledgeAndDifficultyInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional 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});