POST api/Splashtop/groups/computers/{id}/Update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
Computer_ParamsName | Description | Type | Additional information |
---|---|---|---|
add_computers | Collection of integer |
None. |
|
remove_computers | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "add_computers": [ 1, 2 ], "remove_computers": [ 1, 2 ] }
application/xml, text/xml
Sample:
<SplashtopController.Computer_Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <add_computers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </add_computers> <remove_computers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </remove_computers> </SplashtopController.Computer_Params>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SplashtopActionResponseName | Description | Type | Additional 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>