[This is preliminary documentation and is subject to change.]
Enables a user to search for Audits.
This method is an alternative to GetAuditIDs(). Where GetAuditIDs() returns only the Audit Numbers, GetAudits() returns full descriptions of found records.
Namespace: QPulseWebServices.Contracts.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.100.591.48
Syntax
| C# |
|---|
Audit[] GetAudits( string token, AuditQuery query ) |
Parameters
- token
- Type: System..::..String
An authentication token previously requested from the Core service.
- query
- Type: QPulseWebServices.Contracts.Data..::..AuditQuery
The query against which to search for Audits.
Return Value
An array of Audits
Exceptions
| Exception | Condition |
|---|---|
| ServiceFaultCode..::..AuthenticationFailed | The token provided could not be authenticated. |
| ServiceFaultCode..::..SessionInvalid | The Q-Pulse session was invalid. |