POST jxc_api/Log/AddOperationLog

Request Information

URI Parameters

None.

Body Parameters

AddOpertaionLogViewModel
NameDescriptionTypeAdditional information
UserId

string

None.

LogType

OpeLogType

None.

MainMenu

MainMenuName

None.

Menu

MenuName

None.

Page

string

None.

Log

string

None.

WebSite

integer

None.

Language

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "LogType": 1000,
  "MainMenu": 1000,
  "Menu": 100010,
  "Page": "sample string 2",
  "Log": "sample string 3",
  "WebSite": 4,
  "Language": 5
}

application/xml, text/xml

Sample:
<AddOpertaionLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ScmLog">
  <_x003C_Language_x003E_k__BackingField>5</_x003C_Language_x003E_k__BackingField>
  <_x003C_LogType_x003E_k__BackingField>Visit</_x003C_LogType_x003E_k__BackingField>
  <_x003C_Log_x003E_k__BackingField>sample string 3</_x003C_Log_x003E_k__BackingField>
  <_x003C_MainMenu_x003E_k__BackingField>设置</_x003C_MainMenu_x003E_k__BackingField>
  <_x003C_Menu_x003E_k__BackingField>系统参数</_x003C_Menu_x003E_k__BackingField>
  <_x003C_Page_x003E_k__BackingField>sample string 2</_x003C_Page_x003E_k__BackingField>
  <_x003C_UserId_x003E_k__BackingField>sample string 1</_x003C_UserId_x003E_k__BackingField>
  <_x003C_WebSite_x003E_k__BackingField>4</_x003C_WebSite_x003E_k__BackingField>
</AddOpertaionLogViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "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/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>