To get the audits of a specific object, use the GetForObject
method. Use the GUID of the parent object as input.
For an example, see the following .NET C# code:
Audit singleAudit = client.Audits.FindById(audit.Id);
PagedResult<Audit> objectAudits = client.Audits.GetForObject(objectId, auditFilter);
Library method name |
GetForObject
|
---|---|
Description | Get an audit for a single object |
Method signature |
PagedResult<Audit> GetForObject(Guid objectId, AuditFilter auditFilter);
|
Method input parameters |
|
Return value | A PagedResult of Audit . |