POST api/AuditTrialLogs/PostAuditTrialLog
Request Information
URI Parameters
None.
Body Parameters
AuditTrialLog| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TableName | string |
None. |
|
| FieldName | string |
None. |
|
| MainID | integer |
None. |
|
| ChangeSetNo | string |
None. |
|
| OldValue | string |
None. |
|
| NewValue | string |
None. |
|
| AuditActionType | string |
None. |
|
| CreatedDate | date |
None. |
|
| LogString | string |
None. |
|
| StaffID | integer |
None. |
|
| ProjectID | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"TableName": "sample string 2",
"FieldName": "sample string 3",
"MainID": 1,
"ChangeSetNo": "sample string 4",
"OldValue": "sample string 5",
"NewValue": "sample string 6",
"AuditActionType": "sample string 7",
"CreatedDate": "2026-06-30T14:19:05.414916+01:00",
"LogString": "sample string 8",
"StaffID": 1,
"ProjectID": 1,
"UpdatedDate": "2026-06-30T14:19:05.4164191+01:00",
"UpdatedBy": 1,
"CreatedBy": 1
}
text/xml
Sample:
<AuditTrialLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Entity"> <AuditActionType>sample string 7</AuditActionType> <ChangeSetNo>sample string 4</ChangeSetNo> <CreatedBy>1</CreatedBy> <CreatedDate>2026-06-30T14:19:05.414916+01:00</CreatedDate> <FieldName>sample string 3</FieldName> <ID>1</ID> <LogString>sample string 8</LogString> <MainID>1</MainID> <NewValue>sample string 6</NewValue> <OldValue>sample string 5</OldValue> <ProjectID>1</ProjectID> <StaffID>1</StaffID> <TableName>sample string 2</TableName> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-06-30T14:19:05.4164191+01:00</UpdatedDate> </AuditTrialLog>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AuditTrialLog| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TableName | string |
None. |
|
| FieldName | string |
None. |
|
| MainID | integer |
None. |
|
| ChangeSetNo | string |
None. |
|
| OldValue | string |
None. |
|
| NewValue | string |
None. |
|
| AuditActionType | string |
None. |
|
| CreatedDate | date |
None. |
|
| LogString | string |
None. |
|
| StaffID | integer |
None. |
|
| ProjectID | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| CreatedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"TableName": "sample string 2",
"FieldName": "sample string 3",
"MainID": 1,
"ChangeSetNo": "sample string 4",
"OldValue": "sample string 5",
"NewValue": "sample string 6",
"AuditActionType": "sample string 7",
"CreatedDate": "2026-06-30T14:19:05.4297856+01:00",
"LogString": "sample string 8",
"StaffID": 1,
"ProjectID": 1,
"UpdatedDate": "2026-06-30T14:19:05.4297856+01:00",
"UpdatedBy": 1,
"CreatedBy": 1
}
text/xml
Sample:
<AuditTrialLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Entity"> <AuditActionType>sample string 7</AuditActionType> <ChangeSetNo>sample string 4</ChangeSetNo> <CreatedBy>1</CreatedBy> <CreatedDate>2026-06-30T14:19:05.4297856+01:00</CreatedDate> <FieldName>sample string 3</FieldName> <ID>1</ID> <LogString>sample string 8</LogString> <MainID>1</MainID> <NewValue>sample string 6</NewValue> <OldValue>sample string 5</OldValue> <ProjectID>1</ProjectID> <StaffID>1</StaffID> <TableName>sample string 2</TableName> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-06-30T14:19:05.4297856+01:00</UpdatedDate> </AuditTrialLog>