[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 (in QPulseWebServices.dll) Version: 2.0.2.15
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. |