POST {language}/audit/saveAuditTrail

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

string

None.

Body Parameters

SaveAuditTrailRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

AccountId

globally unique identifier

None.

ActionRoute

string

None.

ActionName

string

None.

DataKeyValue

globally unique identifier

None.

Uri

string

None.

ClientIp

string

None.

EmployeeId

globally unique identifier

None.

CompanyId

globally unique identifier

None.

StartTime

date

None.

EndTime

date

None.

HttpMethod

string

None.

UserAgent

string

None.

AuditTrailDetailInformations

Collection of AuditTrailDetailInformation

None.

RequestId

globally unique identifier

None.

Language

string

None.

LanguageLogin

string

None.

AuthToken

string

None.

ClientId

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "b36c2db4-86e8-44e4-82bf-357f76286a1e",
  "AccountId": "4a8f9381-486b-4cc2-9083-0c4dc2000bb6",
  "ActionRoute": "sample string 3",
  "ActionName": "sample string 4",
  "DataKeyValue": "1c480562-59ff-4cd4-af42-e73e3aa9b5d7",
  "Uri": "sample string 6",
  "ClientIp": "sample string 7",
  "EmployeeId": "0ff5665f-d44c-4df5-84fe-81615ff7042f",
  "CompanyId": "8d057d50-0e0e-4e65-a544-f1c41487cc8c",
  "StartTime": "2025-04-26T15:17:48.4661109+00:00",
  "EndTime": "2025-04-26T15:17:48.4661109+00:00",
  "HttpMethod": "sample string 12",
  "UserAgent": "sample string 13",
  "AuditTrailDetailInformations": [
    {
      "AuditTrailId": "4a98391a-0fd6-4844-8f8c-8acb7331f93f",
      "FieldName": "sample string 2",
      "OldValue": "sample string 3",
      "NewValue": "sample string 4",
      "IsChanged": true,
      "Id": "89310652-6025-4a0b-9d92-e45868433042",
      "CreatedOn": "2025-04-26T15:17:48.4661109+00:00",
      "UpdatedOn": "2025-04-26T15:17:48.4661109+00:00",
      "RecordState": 0
    },
    {
      "AuditTrailId": "4a98391a-0fd6-4844-8f8c-8acb7331f93f",
      "FieldName": "sample string 2",
      "OldValue": "sample string 3",
      "NewValue": "sample string 4",
      "IsChanged": true,
      "Id": "89310652-6025-4a0b-9d92-e45868433042",
      "CreatedOn": "2025-04-26T15:17:48.4661109+00:00",
      "UpdatedOn": "2025-04-26T15:17:48.4661109+00:00",
      "RecordState": 0
    }
  ],
  "RequestId": "a1648e89-5683-4281-88cc-a6c1ec441c23",
  "Language": "sample string 15",
  "LanguageLogin": "sample string 16",
  "AuthToken": "sample string 17",
  "ClientId": "sample string 18",
  "PageIndex": 19,
  "PageSize": 20
}

application/xml, text/xml

Sample:
<SaveAuditTrailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests.AuditTrails">
  <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 17</AuthToken>
  <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 18</ClientId>
  <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 15</Language>
  <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 16</LanguageLogin>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">19</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">20</PageSize>
  <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">a1648e89-5683-4281-88cc-a6c1ec441c23</RequestId>
  <AccountId>4a8f9381-486b-4cc2-9083-0c4dc2000bb6</AccountId>
  <ActionName>sample string 4</ActionName>
  <ActionRoute>sample string 3</ActionRoute>
  <AuditTrailDetailInformations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models.AuditTrail">
    <d2p1:AuditTrailDetailInformation>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">2025-04-26T15:17:48.4661109+00:00</CreatedOn>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">89310652-6025-4a0b-9d92-e45868433042</Id>
      <RecordState xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">Disabled</RecordState>
      <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">2025-04-26T15:17:48.4661109+00:00</UpdatedOn>
      <d2p1:AuditTrailId>4a98391a-0fd6-4844-8f8c-8acb7331f93f</d2p1:AuditTrailId>
      <d2p1:FieldName>sample string 2</d2p1:FieldName>
      <d2p1:IsChanged>true</d2p1:IsChanged>
      <d2p1:NewValue>sample string 4</d2p1:NewValue>
      <d2p1:OldValue>sample string 3</d2p1:OldValue>
    </d2p1:AuditTrailDetailInformation>
    <d2p1:AuditTrailDetailInformation>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">2025-04-26T15:17:48.4661109+00:00</CreatedOn>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">89310652-6025-4a0b-9d92-e45868433042</Id>
      <RecordState xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">Disabled</RecordState>
      <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.Core.Models">2025-04-26T15:17:48.4661109+00:00</UpdatedOn>
      <d2p1:AuditTrailId>4a98391a-0fd6-4844-8f8c-8acb7331f93f</d2p1:AuditTrailId>
      <d2p1:FieldName>sample string 2</d2p1:FieldName>
      <d2p1:IsChanged>true</d2p1:IsChanged>
      <d2p1:NewValue>sample string 4</d2p1:NewValue>
      <d2p1:OldValue>sample string 3</d2p1:OldValue>
    </d2p1:AuditTrailDetailInformation>
  </AuditTrailDetailInformations>
  <ClientIp>sample string 7</ClientIp>
  <CompanyId>8d057d50-0e0e-4e65-a544-f1c41487cc8c</CompanyId>
  <DataKeyValue>1c480562-59ff-4cd4-af42-e73e3aa9b5d7</DataKeyValue>
  <EmployeeId>0ff5665f-d44c-4df5-84fe-81615ff7042f</EmployeeId>
  <EndTime>2025-04-26T15:17:48.4661109+00:00</EndTime>
  <HttpMethod>sample string 12</HttpMethod>
  <Id>b36c2db4-86e8-44e4-82bf-357f76286a1e</Id>
  <StartTime>2025-04-26T15:17:48.4661109+00:00</StartTime>
  <Uri>sample string 6</Uri>
  <UserAgent>sample string 13</UserAgent>
</SaveAuditTrailRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.