POST api/sys/log/send

发送日志

Request Information

URI Parameters

None.

Body Parameters

Collection of SysLogReqContract
NameDescriptionTypeAdditional information
Platform

string

None.

Module

string

None.

FuncName

string

None.

ReqType

string

None.

Grade

string

None.

Descript

string

None.

Detail

string

None.

ServerIp

string

None.

Version

string

None.

CreatTime

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Platform": "sample string 1",
    "Module": "sample string 2",
    "FuncName": "sample string 3",
    "ReqType": "sample string 4",
    "Grade": "sample string 5",
    "Descript": "sample string 6",
    "Detail": "sample string 7",
    "ServerIp": "sample string 8",
    "Version": "sample string 9",
    "CreatTime": "2024-12-23T20:13:46.7360219+08:00"
  },
  {
    "Platform": "sample string 1",
    "Module": "sample string 2",
    "FuncName": "sample string 3",
    "ReqType": "sample string 4",
    "Grade": "sample string 5",
    "Descript": "sample string 6",
    "Detail": "sample string 7",
    "ServerIp": "sample string 8",
    "Version": "sample string 9",
    "CreatTime": "2024-12-23T20:13:46.7360219+08:00"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

发送日志

ReturnResultOfInt32
NameDescriptionTypeAdditional information
data

integer

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": 1,
  "code": 2,
  "message": "sample string 3"
}