public interface AuditRecordApi
Modifier and Type | Method and Description |
---|---|
AuditRecordRepresentation |
create(AuditRecordRepresentation auditRecord)
Creates an audit record in the platform.
|
AuditRecordRepresentation |
getAuditRecord(com.cumulocity.model.idtype.GId gid)
Gets an audit record by id
|
AuditRecordCollection |
getAuditRecords()
Gets all audit records from the platform
|
AuditRecordCollection |
getAuditRecordsByFilter(AuditRecordFilter filter)
Gets audit records from the platform based on the specified filter
|
AuditRecordRepresentation getAuditRecord(com.cumulocity.model.idtype.GId gid) throws SDKException
gid
- id of the audit record to search forSDKException
- if the audit record is not foundAuditRecordRepresentation create(AuditRecordRepresentation auditRecord) throws SDKException
auditRecord
- the audit record to be createdSDKException
- if the audit record could not be generatedAuditRecordCollection getAuditRecords() throws SDKException
SDKException
- if the query failedAuditRecordCollection getAuditRecordsByFilter(AuditRecordFilter filter) throws SDKException
filter
- the filter criteria(s)SDKException
- if the query failedCopyright © 2020 (C) Cumulocity GmbH. All rights reserved.