GET api/Policy/{UnitName}/ListExamMode
列出考試清單
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitName |
單位名稱(e.g. 北區輔導團、臺北市、040304) |
string |
Required |
Body Parameters
考試模式資訊
Exam| Name | Description | Type | Additional 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
Collection of ListExam| Name | Description | Type | Additional information |
|---|---|---|---|
| ExamName |
考試名稱 |
string |
None. |
| ExamTime |
考試時間 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ExamName": "sample string 1",
"ExamTime": "sample string 2"
},
{
"ExamName": "sample string 1",
"ExamTime": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfListExam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers">
<ListExam>
<ExamName>sample string 1</ExamName>
<ExamTime>sample string 2</ExamTime>
</ListExam>
<ListExam>
<ExamName>sample string 1</ExamName>
<ExamTime>sample string 2</ExamTime>
</ListExam>
</ArrayOfListExam>