POST api/exam/bindretestidonexam

习题试题关联接口

Request Information

URI Parameters

None.

Body Parameters

ExamTestRelationDto
NameDescriptionTypeAdditional information
ExamId

习题编号

globally unique identifier

None.

ReTestIdSet

试题编号集合

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamId": "7372d7c6-ba7c-477b-8fda-ef81db84e3f7",
  "ReTestIdSet": [
    "c9f52e45-117b-4b8f-9a59-66ae146be2ab",
    "e4f6f5a8-212e-42f3-8f00-ca2bcddc42a5"
  ]
}

text/html

Sample:
{"ExamId":"7372d7c6-ba7c-477b-8fda-ef81db84e3f7","ReTestIdSet":["c9f52e45-117b-4b8f-9a59-66ae146be2ab","e4f6f5a8-212e-42f3-8f00-ca2bcddc42a5"]}

application/xml, text/xml

Sample:
<ExamTestRelationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <ExamId>7372d7c6-ba7c-477b-8fda-ef81db84e3f7</ExamId>
  <ReTestIdSet xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>c9f52e45-117b-4b8f-9a59-66ae146be2ab</d2p1:guid>
    <d2p1:guid>e4f6f5a8-212e-42f3-8f00-ca2bcddc42a5</d2p1:guid>
  </ReTestIdSet>
</ExamTestRelationDto>

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