Traceability > Audit Logs > Items β
Technical Overview β
- There is multiple ways to create, update or delete an item in the Product-Live platform:
- Using the app.product-live.com UI
- Through the quick import feature (create and update)
- Through the delete items (delete only)
- Though the grid view (update only)
- Through the detailed view (update only)
- Through the collect view (update only)
- Using the public (calcifer) API
- Suggestions API (update only)
- Using Data Factory
- Through a job launch by a user through app.product-live.com or settings.product-live.com
- Through a periodic job launch by the platform
- Using the app.product-live.com UI
Audit Logs β
The following audit logs are available to date:
| Audit Log | Description |
|---|---|
item.create | An item has been created |
item.update | An item has been updated |
item.delete | An item has been deleted |
item.read | One or multiple items have been read |
item.create β
- Description: An item has been created.
- Details:
accountId: The account unique identifier linked to the loguserId: The user unique identifier linked to the logitemId: The id of the itemstatus: How went the create (value may be:SUCCESS,FAILURE)updatedFieldList: The list of fields that have been createdactionOrigin: The origin of the action (value may be:QUICK_IMPORT,DF_TABLE_IMPORT_ITEMS,DF_EXCHANGE_RECEIVE_ITEMS)triggeredBy: Value may beUSERorCRONissuedAt: The creation date of the item, in the format of an ISO string.jobId: The job id that created the item if the creation was made through a job (actionOriginis prefixed byDF_)jobExecutionId: The job execution id that created the item
- Example
json
{
"Id": "3fd28929-228d-11ef-91f5-002248824020",
"TimeGenerated [UTC]": "2024-06-04T16:12:33.7430000Z",
"EntityType": "item",
"PlType": "item.create_item",
"Version": 1,
"Details": {
"accountId": "1",
"userId": "1",
"itemId":"14",
"status": "SUCCESS"
"updatedFieldList": {"EAN_13":"1234"},
"actionOrigin": "QUICK_IMPORT",
"triggeredBy": "USER",
"issuedAt": "2024-06-04T16:12:33.7430000Z",
"jobExecutionId": "63fe2ed0c21eae717b583128"
},
"Metadata": {}
}1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
item.update β
- Description: An item has been updated.
- Details:
accountId: The account unique identifier linked to the loguserId: The user unique identifier linked to the logitemId: The id of the itemstatus: How went the update (value may be:SUCCESS,FAILURE)updatedFieldList: The list of fields that have been updated by the useractionOrigin: The origin of the action (value may be:APP_GRID,APP_DETAIL,APP_COLLECT,APP_QUICK_IMPORT,API_SUGGESTIONS_APPLY,DF_TABLE_IMPORT_ITEMS,DF_EXCHANGE_RECEIVE_ITEMS)triggeredBy: value may beUSERorCRONissuedAt: The update date of the item, in the format of an ISO string.jobId: The id of the job if the update was made through a job (actionOriginis prefixed byDF_)jobExecutionId: The id of the job execution if the update was made through a job (actionOriginis prefixed byDF_)suggestionId: The id of the suggestion if the update was made through a suggestion (actionOriginisAPP_COLLECT,API_SUGGESTIONS_APPLYorDF_EXCHANGE_RECEIVE_ITEMS)
- Example
json
{
"Id": "3fd28929-228d-11ef-91f5-002248824020",
"TimeGenerated [UTC]": "2024-06-04T16:12:33.7430000Z",
"EntityType": "item",
"PlType": "item.create_item",
"Version": 1,
"Details": {
"accountId": "1",
"userId": "1",
"itemId":"14",
"status": "SUCCESS"
"updatedFieldList": {"KEY_LONG_TEXT":"hello"},
"actionOrigin": "APP_COLLECT",
"triggeredBy": "USER",
"issuedAt": "2024-06-04T16:12:33.7430000Z",
"suggestionId": "6"
},
"Metadata": {}
}1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
item.delete β
- Description: An item has been deleted
- Details:
accountId: The account unique identifier linked to the loguserId: The user unique identifier linked to the logitemId: The id of the itemstatus: How went the update (value may be:SUCCESS,FAILURE)actionOrigin: The origin of the action (value may be:APP_DELETE_ACTION,DF_TABLE_DELETE_ITEM)triggeredBy: value may beUSERorCRONissuedAt: The delete date of the item, in the format of an ISO string.jobId: The id of the job if the update was made through a job (actionOriginisDF_TABLE_DELETE_ITEM)jobExecutionId: The id of the job execution if the update was made through a job (actionOriginisDF_TABLE_DELETE_ITEM)
item.read β
- Description: One or multiple items have been read
- Details:
accountId: The account unique identifier linked to the loguserId: The user unique identifier linked to the logstatus: How went the update (value may be:SUCCESS,FAILURE)actionOrigin: The origin of the action- value may be:
API_APP: Item read from app.product-live.comAPI_ADMIN: Item read from admin.product-live.com (currently no screen enables it, but theoretically possible)DF_TABLE_EXPORT_ITEMS: Item read from Data Factory tasktable-export-itemsAPI_PUBLIC: Item read from public api api.product-live.com
- value may be:
triggeredBy: value may beUSERorCRONissuedAt: The read date of the item, in the format of an ISO string.jobId: The id of the job if the read was made through a job (actionOriginisDF_TABLE_EXPORT_ITEMS)jobExecutionId: The id of the job execution if the read was made through a job (actionOriginisDF_TABLE_EXPORT_ITEMS)url: The url of the request if the action origin isAPI_PUBLIC,API_APPorAPI_ADMINquery: The query of the request if the action origin isAPI_PUBLIC,API_APP,API_ADMINorDF_TABLE_EXPORT_ITEMSitemIds: The set of item ids that have been readdurationMs: The duration of the request in millisecondscacheHit: number,cacheStale: numbercacheMiss: numbercacheOff: number