GET https://api.profit.co/app/dao/v6/datamanagement?a=getAll&objectId=191&numResults=<NUMBER_OF_RESULTS>&startDate=<START_DATE>&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>
Read the audit log which includes the transaction history like record create, update, delete. This method will return the audit logs from the Here is the details of Profit.co audit logs.
* Audit log is generated and an employee (user of profit.co) performs any operations within profit.co application.
* Audit log is recorded in the databases as startDate
specified. Get the creationDate of the last record from data
and call the API again by setting the startDate to creationDate to get the next set of records. API will return empty data
indicating that no records exists after the specified startDate. Stop calling the API when results.countOfRecords < numResults.
Posted by
employee who performed particular action.
* Audit log is associated with multiple objects like Objective, Key results, employee, department, Event, Task.
* Each object will have: Object id, object name, object ref id, object ref name
and here.
* Object id - Unique ID of the object identifying the type of the object (ex: 8 for employees, 560 for Objectives, 563 for Key results).
* Object name - name of the object. ex: Employee, Objective, Key Result.
* Object Ref Id - actual employee id, actual object id, actual key result id - that is unique id in the system.
* Object Ref name - actual Employee name, actual Objective name, actual key results name like: Improve Performance
.
Body
PARAM
Key | Datatype | Required | Description |
a
|
string | ||
objectId
|
number | ||
numResults
|
string | Integer, number of results to be returned. Max permissible value: 5000 | |
startDate
|
string | Required: Date from which the audit logs to be returned. Must in the yyyy-MM-dd HH:mm:ss format in the PST timezone. | |
apiKey
|
string | Required: API key of your Profit.co Account | |
|