POST api/Policy/{UnitName}/ExamMode/Delete

刪除考試模式政策

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UnitName

單位名稱(e.g. 北區輔導團、臺北市、040304)

string

Required

Body Parameters

考試模式資訊

Exam
NameDescriptionTypeAdditional information
ExamName

WiFi設定位置

string

None.

ExamTime

WiFi設定位置

string

None.

Candidates

Wifi參數

Collection of Candidate

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamName": "sample string 1",
  "ExamTime": "sample string 2",
  "Candidates": [
    {
      "Account": "sample string 1",
      "URL": "sample string 2"
    },
    {
      "Account": "sample string 1",
      "URL": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Exam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers">
  <Candidates>
    <Candidate>
      <Account>sample string 1</Account>
      <URL>sample string 2</URL>
    </Candidate>
    <Candidate>
      <Account>sample string 1</Account>
      <URL>sample string 2</URL>
    </Candidate>
  </Candidates>
  <ExamName>sample string 1</ExamName>
  <ExamTime>sample string 2</ExamTime>
</Exam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResponse
NameDescriptionTypeAdditional information
Account

執行帳號

string

None.

Action

執行功能

string

None.

result

執行結果

boolean

None.

remark

執行失敗時所使用欄位,備註錯誤原因

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "Action": "sample string 2",
  "result": true,
  "remark": "sample string 4"
}

application/xml, text/xml

Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers">
  <Account>sample string 1</Account>
  <Action>sample string 2</Action>
  <remark>sample string 4</remark>
  <result>true</result>
</ActionResponse>