POST api/FoxPass/Binder
建立主機清單
Request Information
URI Parameters
None.
Body Parameters
BinderinfoName | Description | Type | Additional information |
---|---|---|---|
bindername |
主機名稱 |
string |
None. |
password |
主機密碼 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "bindername": "sample string 1", "password": "sample string 2" }
application/xml, text/xml
Sample:
<FoxPassController.Binderinfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <bindername>sample string 1</bindername> <password>sample string 2</password> </FoxPassController.Binderinfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActionResponseName | Description | Type | Additional information |
---|---|---|---|
Account |
執行帳號 |
string |
None. |
Action |
執行功能 |
string |
None. |
result |
執行結果 |
boolean |
None. |
remark |
執行失敗時所使用欄位,備註錯誤原因 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Account": "sample string 1", "Action": "sample string 2", "result": true, "remark": "sample string 4" }
application/xml, text/xml
Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <Account>sample string 1</Account> <Action>sample string 2</Action> <remark>sample string 4</remark> <result>true</result> </ActionResponse>