增加业务日志信息

URL地址:api/App/BusinessLog/InsertBusinessLog

请求方式:POST

传递参数

None.

传递对象

BusinessLogEntity (业务日志信息对象)
名   称描   述参数类型附加信息
BusinessLogID

日志编号

integer

None.

BusinessInfoID

业务信息编号

integer

None.

AccountId

操作人员编号

integer

None.

StartData

操作前数据模型

string

None.

EndData

操作后数据模型

string

None.

RecordDate

记录时间

date

None.

application/json, text/json

Sample:
{
  "BusinessLogID": 1,
  "BusinessInfoID": 2,
  "AccountId": 3,
  "StartData": "sample string 4",
  "EndData": "sample string 5",
  "RecordDate": "2021-03-07T22:22:35.6570929+08:00"
}

application/xml, text/xml

Sample:
<BusinessLogEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <AccountId>3</AccountId>
  <BusinessInfoID>2</BusinessInfoID>
  <BusinessLogID>1</BusinessLogID>
  <EndData>sample string 5</EndData>
  <RecordDate>2021-03-07T22:22:35.6570929+08:00</RecordDate>
  <StartData>sample string 4</StartData>
</BusinessLogEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfBoolean (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

boolean

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": true
}

application/xml, text/xml

Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfboolean>