POST api/AuditLogs

Request Information

URI Parameters

None.

Body Parameters

AuditLog
NameDescriptionTypeAdditional information
RecordId

integer

None.

DateAndTime

date

None.

LoginId

integer

None.

Category

string

Max length: 20

Msg

string

Max length: 200

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "DateAndTime": "2020-03-24T03:36:34.3508805+00:00",
  "LoginId": 3,
  "Category": "sample string 4",
  "Msg": "sample string 5"
}

application/xml, text/xml

Sample:
<AuditLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Category>sample string 4</Category>
  <DateAndTime>2020-03-24T03:36:34.3508805+00:00</DateAndTime>
  <LoginId>3</LoginId>
  <Msg>sample string 5</Msg>
  <RecordId>1</RecordId>
</AuditLog>

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 'AuditLog'.

Response Information

Resource Description

AuditLog
NameDescriptionTypeAdditional information
RecordId

integer

None.

DateAndTime

date

None.

LoginId

integer

None.

Category

string

Max length: 20

Msg

string

Max length: 200

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "DateAndTime": "2020-03-24T03:36:34.3508805+00:00",
  "LoginId": 3,
  "Category": "sample string 4",
  "Msg": "sample string 5"
}

application/xml, text/xml

Sample:
<AuditLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Category>sample string 4</Category>
  <DateAndTime>2020-03-24T03:36:34.3508805+00:00</DateAndTime>
  <LoginId>3</LoginId>
  <Msg>sample string 5</Msg>
  <RecordId>1</RecordId>
</AuditLog>