POST api/Splashtop/groups/computers/SetToDefault

Request Information

URI Parameters

None.

Body Parameters

ID_Params
NameDescriptionTypeAdditional information
ids

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ids": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SplashtopController.ID_Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers">
  <ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ids>
</SplashtopController.ID_Params>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SplashtopActionResponse
NameDescriptionTypeAdditional information
data

執行帳號

string

None.

Action

執行功能

string

None.

result

執行結果

boolean

None.

remark

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

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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