Asset Logs
Changed onThis request returns logs created manually by users and automatically created (where userID=0) by certain actions taken on the asset. Logs related to tasks completed on an Asset will not be returned.
Note: this endpoint supports pagination. Please refer to the Pagination section for more information.
Return data description
| Property | Description |
|---|---|
| logID | The unique logID of the log. |
| dateCreated | The date the log was created as a UNIX timestamp. |
| assetID | The ID of the asset the log belongs to. |
| logEntry | The log entry for the asset. |
| userID | The ID of the user that created the log. |
| logFiles | An array of objects that have a fileID, fileName and a link that can used to download the files attached to the log. All links are only valid for 15 minutes, a new call will generate a new link. |
Request
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
This parameter is used to only get specific logs. This parameter accepts a comma delimited list of logIDs.
This parameter is used to only get logs created by specific users. This parameter accepts a comma delimited list of userIDs.
This is a parameter used to string search for manual log entry. This parameter expects a string with the wildcard %.
This parameter is used to only get logs that were last edited after the unix timestamp passed into the start parameter.
This parameter is used to only get logs that were last edited before the unix timestamp passed into the end parameter.
This parameter is used to paginate results based on the limit. Refer to Pagination section for more information.
This parameter is a result limiter. The default is set to return no more than 100 results at one time. Maximum allowed value is 1000.
This parameter is a cursor that selects what ID you want to start receiving results at.
Response
Asset Logs
Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromstringtointeger - warning
for the
queryrequest parameterlimit, the max was set to1000.00 - warning
for the
queryrequest parameterlimit, the min was set to1.00 - info
added the non-success response with the status
- breaking