GET api/AuditLog/{auth}/{EntityGUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

EntityGUID

string

Required

Body Parameters

None.

Response Information

Resource Description

AuditLogResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Items

Collection of AuditLogItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Items": [
    {
      "AuditLogID": 1,
      "EntityName": "sample string 2",
      "PrimaryKey": "sample string 3",
      "ColumnName": "sample string 4",
      "OldValue": "sample string 5",
      "NewValue": "sample string 6",
      "InsertUserID": 1,
      "InsertUserName": "sample string 7",
      "InsertDateTime": "2024-12-28T08:52:12.2633423+00:00"
    },
    {
      "AuditLogID": 1,
      "EntityName": "sample string 2",
      "PrimaryKey": "sample string 3",
      "ColumnName": "sample string 4",
      "OldValue": "sample string 5",
      "NewValue": "sample string 6",
      "InsertUserID": 1,
      "InsertUserName": "sample string 7",
      "InsertDateTime": "2024-12-28T08:52:12.2633423+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AuditLogResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <Items>
    <AuditLogItem>
      <AuditLogID>1</AuditLogID>
      <ColumnName>sample string 4</ColumnName>
      <EntityName>sample string 2</EntityName>
      <InsertDateTime>2024-12-28T08:52:12.2633423+00:00</InsertDateTime>
      <InsertUserID>1</InsertUserID>
      <InsertUserName>sample string 7</InsertUserName>
      <NewValue>sample string 6</NewValue>
      <OldValue>sample string 5</OldValue>
      <PrimaryKey>sample string 3</PrimaryKey>
    </AuditLogItem>
    <AuditLogItem>
      <AuditLogID>1</AuditLogID>
      <ColumnName>sample string 4</ColumnName>
      <EntityName>sample string 2</EntityName>
      <InsertDateTime>2024-12-28T08:52:12.2633423+00:00</InsertDateTime>
      <InsertUserID>1</InsertUserID>
      <InsertUserName>sample string 7</InsertUserName>
      <NewValue>sample string 6</NewValue>
      <OldValue>sample string 5</OldValue>
      <PrimaryKey>sample string 3</PrimaryKey>
    </AuditLogItem>
  </Items>
</AuditLogResp>