POST api/retestrepository/SaveLablesForRetest
保存标签到特定试题
Request Information
URI Parameters
None.
Body Parameters
SaveReTestLabelForReTestInputDtoName | Description | Type | Additional information |
---|---|---|---|
ReTestIdSet |
试题编号集合 |
Collection of globally unique identifier |
None. |
LabelName |
标签名称 |
string |
None. |
LabelValue |
标签值 |
string |
None. |
ReTestRePositoryId |
题库编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReTestIdSet": [ "a8544e97-e179-453c-8a6b-0112c6459f91", "44e24166-29ab-4f5f-8cc5-57f6b8592f43" ], "LabelName": "sample string 1", "LabelValue": "sample string 2", "ReTestRePositoryId": 3 }
text/html
Sample:
{"ReTestIdSet":["a8544e97-e179-453c-8a6b-0112c6459f91","44e24166-29ab-4f5f-8cc5-57f6b8592f43"],"LabelName":"sample string 1","LabelValue":"sample string 2","ReTestRePositoryId":3}
application/xml, text/xml
Sample:
<SaveReTestLabelForReTestInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <LabelName>sample string 1</LabelName> <LabelValue>sample string 2</LabelValue> <ReTestIdSet xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>a8544e97-e179-453c-8a6b-0112c6459f91</d2p1:guid> <d2p1:guid>44e24166-29ab-4f5f-8cc5-57f6b8592f43</d2p1:guid> </ReTestIdSet> <ReTestRePositoryId>3</ReTestRePositoryId> </SaveReTestLabelForReTestInputDto>
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});