searchEventLogs method
Future<ClientResponse<EventLogSearchResponse, Errors> >
searchEventLogs(
- EventLogSearchRequest request
Searches the event logs with the specified criteria and pagination.
@param {EventLogSearchRequest} request The search criteria and pagination information. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<EventLogSearchResponse, Errors>> searchEventLogs(
EventLogSearchRequest request) {
return _start<EventLogSearchResponse, Errors>()
.withUri('/api/system/event-log/search')
.withJSONBody(request)
.withMethod('POST')
.withResponseHandler(defaultResponseHandlerBuilder(
(d) => EventLogSearchResponse.fromJson(d)))
.go();
}