GET https://api.profit.co/app/dao/v6/datamanagement?a=getAll&objectId=603&numResults=<NUMBER_OF_RESULTS>&startDate=<START_DATE>&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>
Read employee login/logout history along with date time and IP address from which employee is logged in. This method will return the employee login history from the Data record fields details are the below
* currentStatus - Employee current status as per this login.
* ipAddress - IP address from which user is logged in.
* isImpersonateLogin - Is user directly logged into the account or through switch user.
* loginTime - Login time.
* objectRefName - User Name.
* statusDate - Status update time.
* userAgent - Browser user agent of the user from which they are logged in.
* createdBy - Created by user id.
* creationDate - date of creation of this record.
* lastUpdateDate - Last update of date of this record.
* lastUpdatedBy - last updated by user id.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. The API will return empty data
indicating that no records exists after the specified startDate. Stop calling the API when results.countOfRecords < numResults.
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 | |
accessKey
|
string | Required: Access key of your Profit.co Account |
HEADERS
Key | Curl curl -X GET 'https://api.profit.co/app/dao/v6/datamanagement?a=getAll&objectId=603&numResults=<NUMBER_OF_RESULTS>&startDate=<START_DATE>&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=getAll&objectId=603&numResults=<NUMBER_OF_RESULTS>&startDate=<START_DATE>&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' ENDPOINTS |