Short Description
Chapter Contents:
Table of Contents |
---|
Short Description
...
Short Description
Chapter Contents:
Table of Contents | ||||
---|---|---|---|---|
|
Long Description
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
objectName | String | New attribute. It specifies the Dataloy object name the audit log refers to (Voyage, Document, ..) | since API 3.5 | ||
attributeName | String | New attribute. It specifies the attribute name of the object the audit log refers to | since API 3.5 | ||
actionTime | Date | Audit log creation date | |||
entryText | String | Short text description of what has been changed | |||
source | Integer | The key of the dataloy object the audit log refers to | |||
newValue | String | The new value for the fields in string format | |||
oldValue | String | The old value for the fields in string format |
Supported Methods
GET /AuditLog
Get a list of AuditLog objects. Should be filtered Filter to avoid fetching huge amounts of data (see Filtering for search parameters).
Search parameters: See Filtering
Examples:
Gather all AuditLog for the VoyageHeader object where the attribute voyageStatus has changed to SCH value after the specified date.
Gather all AuditLog for the VoyageHeader object where the attribute voyageStatus has changed from the value SCH to NOM after the specified date.
GET /AuditLog/{key}
Get a single AuditLog object.
Example
...
Response Body
GET /AuditLog/100092141094057
Note |
---|
This example has been updated for API version Updated for API version 2.0.0 using date formatusing the new required date format yyyy-dd-MMThh:mi:ss , versions prior to 2.0.0 has the following date format:to conform ISO 8601, (prior version has date format: yyyy-dd-MM hh:mi:ss) |
Code Block | ||
---|---|---|
| ||
{ "key": 100092141094057, "self": "http://localhost:8080/ws/rest/AuditLog/100092141094057", "createdDateobjectName": "2005-05-09T15:51:08VoyageHeader", "modifiedDateattributeName": "2005-05-09T15:54:43voyageStatus", "usersource": {15562857, "keynewValue": 1000656"SCH", "selfoldValue": "http://localhost:8080/ws/rest/User/1000656NOM", "userCodeentryText": "TESTField update: voyageStatus", "userNameactionTime": "Test User" }2017-06-08T12:45:00", "actionTimemodifiedDate": "20052017-0506-09T1508T10:5145:0800", "entryTextaction": { "key"Field update: portCostCurrency"1000009, "newValueself": "300000http://localhost:8080/ws/rest/Action/1000009", "oldValueactionName": "0.0"EDIT" }, "actionuser": { "key": 1000009999999, "self": "http://localhost:8080/ws/rest/ActionUser/1000009999999", }, "fielduserName": {"dataloy - KEEP", "keyuserCode": "DATALOY" 902955, }, "selfcreatedDate": "http://localhost:8080/ws/rest/Field/902955" }2017-06-08T10:45:00", "sourcecreatedById": 1000886999999, "remarks": [] } |
...
1000921
Related Content
Expand | ||
---|---|---|
| ||
|