GET api/AuditLog/TransportLeg/{auth}/{TransportLegID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

TransportLegID

integer

Required

Body Parameters

None.

Response Information

Resource Description

TransportLegAuditResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Items

Collection of TransportLegAuditItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Items": [
    {
      "TransportLegAuditGUID": "sample string 1",
      "TransportLegID": 2,
      "ColumnName": "sample string 3",
      "OldValue": "sample string 4",
      "NewValue": "sample string 5",
      "InsertDateTime": "2024-12-28T09:00:24.0519222+00:00",
      "InsertUserID": 1,
      "InsertUserName": "sample string 7"
    },
    {
      "TransportLegAuditGUID": "sample string 1",
      "TransportLegID": 2,
      "ColumnName": "sample string 3",
      "OldValue": "sample string 4",
      "NewValue": "sample string 5",
      "InsertDateTime": "2024-12-28T09:00:24.0519222+00:00",
      "InsertUserID": 1,
      "InsertUserName": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<TransportLegAuditResp 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>
    <TransportLegAuditItem>
      <ColumnName>sample string 3</ColumnName>
      <InsertDateTime>2024-12-28T09:00:24.0519222+00:00</InsertDateTime>
      <InsertUserID>1</InsertUserID>
      <InsertUserName>sample string 7</InsertUserName>
      <NewValue>sample string 5</NewValue>
      <OldValue>sample string 4</OldValue>
      <TransportLegAuditGUID>sample string 1</TransportLegAuditGUID>
      <TransportLegID>2</TransportLegID>
    </TransportLegAuditItem>
    <TransportLegAuditItem>
      <ColumnName>sample string 3</ColumnName>
      <InsertDateTime>2024-12-28T09:00:24.0519222+00:00</InsertDateTime>
      <InsertUserID>1</InsertUserID>
      <InsertUserName>sample string 7</InsertUserName>
      <NewValue>sample string 5</NewValue>
      <OldValue>sample string 4</OldValue>
      <TransportLegAuditGUID>sample string 1</TransportLegAuditGUID>
      <TransportLegID>2</TransportLegID>
    </TransportLegAuditItem>
  </Items>
</TransportLegAuditResp>