POST Api/Invoke/AddOperationLog
添加操作日志
Request Information
URI Parameters
None.
Body Parameters
请求模型
SpeedPower.Utility.Models.Service.MILogs.AddOperationLogModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
公司ID |
string |
Required String length: inclusive between 0 and 128 |
| OperationType |
操作类型 |
SpeedPower.Utility.Models.Service.MILogs.Enums.OperationType |
None. |
| SearchKey |
检索Key |
string |
Required String length: inclusive between 0 and 128 |
| Controller |
控制器标识 |
string |
Required String length: inclusive between 0 and 50 |
| Action |
动作标识 |
string |
Required String length: inclusive between 0 and 50 |
| Creater |
创建者 |
string |
Required String length: inclusive between 0 and 128 |
| Request_URI |
请求地址 |
string |
None. |
| Request |
请求内容 |
string |
None. |
| Response |
返回内容 |
string |
None. |
| Summary |
简介 |
string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": "sample string 1",
"OperationType": 0,
"SearchKey": "sample string 2",
"Controller": "sample string 3",
"Action": "sample string 4",
"Creater": "sample string 5",
"Request_URI": "sample string 6",
"Request": "sample string 7",
"Response": "sample string 8",
"Summary": "sample string 9"
}
Response Information
Resource Description
添加操作日志
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}