POST api/Policy/{UnitName}/Surface
取得Suface專區政策
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UnitName |
單位名稱(e.g. 北區輔導團、臺北市、040304) |
string |
Required |
Body Parameters
畫面內Surface相關資訊(僅需要提供學校代碼SchoolID)
SurfaceConfigName | Description | Type | Additional information |
---|---|---|---|
SchoolID | string |
None. |
|
changeUefiSettingsPermission | boolean |
None. |
|
cameras | boolean |
None. |
|
microphone | boolean |
None. |
|
bluetooth | boolean |
None. |
|
wifi | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "SchoolID": "sample string 1", "changeUefiSettingsPermission": true, "cameras": true, "microphone": true, "bluetooth": true, "wifi": true }
application/xml, text/xml
Sample:
<SurfaceConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <SchoolID>sample string 1</SchoolID> <bluetooth>true</bluetooth> <cameras>true</cameras> <changeUefiSettingsPermission>true</changeUefiSettingsPermission> <microphone>true</microphone> <wifi>true</wifi> </SurfaceConfig>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SurfaceConfigName | Description | Type | Additional information |
---|---|---|---|
SchoolID | string |
None. |
|
changeUefiSettingsPermission | boolean |
None. |
|
cameras | boolean |
None. |
|
microphone | boolean |
None. |
|
bluetooth | boolean |
None. |
|
wifi | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "SchoolID": "sample string 1", "changeUefiSettingsPermission": true, "cameras": true, "microphone": true, "bluetooth": true, "wifi": true }
application/xml, text/xml
Sample:
<SurfaceConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <SchoolID>sample string 1</SchoolID> <bluetooth>true</bluetooth> <cameras>true</cameras> <changeUefiSettingsPermission>true</changeUefiSettingsPermission> <microphone>true</microphone> <wifi>true</wifi> </SurfaceConfig>