POST api/SplashtopPrem/users
Request Information
URI Parameters
None.
Body Parameters
SplashtopPremUserCreationName | Description | Type | Additional information |
---|---|---|---|
role | string |
None. |
|
category | string |
None. |
|
account | string |
None. |
|
pwd | string |
None. |
|
change_pwd_on_login | boolean |
None. |
|
sos | boolean |
None. |
|
web | boolean |
None. |
|
status | boolean |
None. |
|
group | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "role": "sample string 1", "category": "sample string 2", "account": "sample string 3", "pwd": "sample string 4", "change_pwd_on_login": true, "sos": true, "web": true, "status": true, "group": 9 }
application/xml, text/xml
Sample:
<SplashtopController.SplashtopPremUserCreation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <account>sample string 3</account> <category>sample string 2</category> <change_pwd_on_login>true</change_pwd_on_login> <group>9</group> <pwd>sample string 4</pwd> <role>sample string 1</role> <sos>true</sos> <status>true</status> <web>true</web> </SplashtopController.SplashtopPremUserCreation>
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>