POST api/ActivityLog/InsertActivityLog

Request Information

URI Parameters

None.

Body Parameters

ActivityLogModel
NameDescriptionTypeAdditional information
ID

integer

None.

Action

string

None.

PerformedAt

date

None.

UserID

integer

None.

User

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Action": "sample string 2",
  "PerformedAt": "2025-01-22T20:59:45.5808705-06:00",
  "UserID": 4,
  "User": "sample string 5",
  "Description": "sample string 6"
}

application/xml, text/xml

Sample:
<ActivityLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
  <Action>sample string 2</Action>
  <Description>sample string 6</Description>
  <ID>1</ID>
  <PerformedAt>2025-01-22T20:59:45.5808705-06:00</PerformedAt>
  <User>sample string 5</User>
  <UserID>4</UserID>
</ActivityLogModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDetail
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
  <ResponseCode>1</ResponseCode>
  <ResponseText>sample string 2</ResponseText>
</ResponseDetail>