Interface IApiAuditLogControllerApiSync
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: mailslurp.Api
Assembly: mailslurp.dll
Syntax
public interface IApiAuditLogControllerApiSync : IApiAccessor
Methods
View SourceGetAuditLogByEventId(string, DateTime?, DateTime?, int)
Declaration
AuditLogEventDto GetAuditLogByEventId(string eventId, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventId | |
| DateTime? | since | (optional) |
| DateTime? | before | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AuditLogEventDto | AuditLogEventDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAuditLogByEventIdWithHttpInfo(string, DateTime?, DateTime?, int)
Declaration
ApiResponse<AuditLogEventDto> GetAuditLogByEventIdWithHttpInfo(string eventId, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventId | |
| DateTime? | since | (optional) |
| DateTime? | before | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AuditLogEventDto> | ApiResponse of AuditLogEventDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAuditLogs(DateTime?, DateTime?, string, Guid?, Guid?, Guid?, string, string, string, string, string, int?, string, int)
Declaration
AuditLogPageDto GetAuditLogs(DateTime? since = null, DateTime? before = null, string action = null, Guid? userId = null, Guid? actorUserId = null, Guid? targetUserId = null, string resourceType = null, string resourceId = null, string outcome = null, string requestId = null, string ipAddress = null, int? pageSize = null, string cursor = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime? | since | (optional) |
| DateTime? | before | (optional) |
| string | action | (optional) |
| Guid? | userId | (optional) |
| Guid? | actorUserId | (optional) |
| Guid? | targetUserId | (optional) |
| string | resourceType | (optional) |
| string | resourceId | (optional) |
| string | outcome | (optional) |
| string | requestId | (optional) |
| string | ipAddress | (optional) |
| int? | pageSize | (optional) |
| string | cursor | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AuditLogPageDto | AuditLogPageDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAuditLogsWithHttpInfo(DateTime?, DateTime?, string, Guid?, Guid?, Guid?, string, string, string, string, string, int?, string, int)
Declaration
ApiResponse<AuditLogPageDto> GetAuditLogsWithHttpInfo(DateTime? since = null, DateTime? before = null, string action = null, Guid? userId = null, Guid? actorUserId = null, Guid? targetUserId = null, string resourceType = null, string resourceId = null, string outcome = null, string requestId = null, string ipAddress = null, int? pageSize = null, string cursor = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime? | since | (optional) |
| DateTime? | before | (optional) |
| string | action | (optional) |
| Guid? | userId | (optional) |
| Guid? | actorUserId | (optional) |
| Guid? | targetUserId | (optional) |
| string | resourceType | (optional) |
| string | resourceId | (optional) |
| string | outcome | (optional) |
| string | requestId | (optional) |
| string | ipAddress | (optional) |
| int? | pageSize | (optional) |
| string | cursor | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AuditLogPageDto> | ApiResponse of AuditLogPageDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAuditLogs(AuditLogSearchOptions, int)
Declaration
AuditLogPageDto SearchAuditLogs(AuditLogSearchOptions auditLogSearchOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditLogSearchOptions | auditLogSearchOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AuditLogPageDto | AuditLogPageDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAuditLogsWithHttpInfo(AuditLogSearchOptions, int)
Declaration
ApiResponse<AuditLogPageDto> SearchAuditLogsWithHttpInfo(AuditLogSearchOptions auditLogSearchOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditLogSearchOptions | auditLogSearchOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AuditLogPageDto> | ApiResponse of AuditLogPageDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |