POST dz_api/OperationLog/AddOperationLog

添加一条用户操作日志记录

Request Information

URI Parameters

None.

Body Parameters

OperationLog
NameDescriptionTypeAdditional information
AaId

integer

None.

UserId

integer

None.

UserSn

integer

None.

UserName

string

String length: inclusive between 0 and 64

LogType

integer

None.

MainMenu

integer

None.

Menu

integer

None.

Page

string

String length: inclusive between 0 and 256

Log

string

None.

WebSite

integer

None.

Language

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AaId": 1,
  "UserId": 2,
  "UserSn": 3,
  "UserName": "sample string 4",
  "LogType": 5,
  "MainMenu": 6,
  "Menu": 7,
  "Page": "sample string 8",
  "Log": "sample string 9",
  "WebSite": 10,
  "Language": 11,
  "CreatedDate": "2024-04-28T16:46:54.1843038+08:00"
}

application/xml, text/xml

Sample:
<OperationLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.DBModels">
  <AaId>1</AaId>
  <CreatedDate>2024-04-28T16:46:54.1843038+08:00</CreatedDate>
  <Language>11</Language>
  <Log>sample string 9</Log>
  <LogType>5</LogType>
  <MainMenu>6</MainMenu>
  <Menu>7</Menu>
  <Page>sample string 8</Page>
  <UserId>2</UserId>
  <UserName>sample string 4</UserName>
  <UserSn>3</UserSn>
  <WebSite>10</WebSite>
</OperationLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

添加一条用户操作日志记录

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Msg

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Msg": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Data />
  <Msg>sample string 2</Msg>
  <StatusCode>CONTINUE</StatusCode>
  <Success>true</Success>
</MessageModel>