POST Api/Service/Eterm/{GroupId}/Command/{ClientId}/{Format}
客户端身份执行指令
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GroupId |
申请组ID |
string |
Required |
ClientId |
客户端标识(标识不变会使用上次分配成功的配置保持上下文关系) |
globally unique identifier |
Required |
Format |
是否返回已被格式化的信息 |
boolean |
Required |
Body Parameters
命令行
SpeedPower.Utility.Models.Service.Eterms.Service.CommandRequestModelName | Description | Type | Additional information |
---|---|---|---|
Command |
指令 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Command": "sample string 1" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Command" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
客户端身份执行指令
SpeedPower.Utility.Models.Service.Eterms.Service.CommandResponseModelName | Description | Type | Additional information |
---|---|---|---|
Result |
返回 |
string |
None. |
Command |
指令 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": "sample string 1", "Command": "sample string 2" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Result" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Command" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--