Search Results for

    Show / Hide Table of Contents

    Interface IGroupControllerApiSync

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    IApiAccessor.ExceptionFactory
    Namespace: mailslurp.Api
    Assembly: mailslurp.dll
    Syntax
    public interface IGroupControllerApiSync : IApiAccessor

    Methods

    View Source

    AddContactsToGroup(Guid, UpdateGroupContacts, int)

    Add contacts to a group

    Declaration
    GroupContactsDto AddContactsToGroup(Guid groupId, UpdateGroupContacts updateGroupContacts, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    UpdateGroupContacts updateGroupContacts
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    GroupContactsDto

    GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    AddContactsToGroupWithHttpInfo(Guid, UpdateGroupContacts, int)

    Add contacts to a group

    Declaration
    ApiResponse<GroupContactsDto> AddContactsToGroupWithHttpInfo(Guid groupId, UpdateGroupContacts updateGroupContacts, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    UpdateGroupContacts updateGroupContacts
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<GroupContactsDto>

    ApiResponse of GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateGroup(CreateGroupOptions, int)

    Create a group

    Declaration
    GroupDto CreateGroup(CreateGroupOptions createGroupOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateGroupOptions createGroupOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    GroupDto

    GroupDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateGroupWithHttpInfo(CreateGroupOptions, int)

    Create a group

    Declaration
    ApiResponse<GroupDto> CreateGroupWithHttpInfo(CreateGroupOptions createGroupOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateGroupOptions createGroupOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<GroupDto>

    ApiResponse of GroupDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteGroup(Guid, int)

    Delete group

    Declaration
    void DeleteGroup(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteGroupWithHttpInfo(Guid, int)

    Delete group

    Declaration
    ApiResponse<object> DeleteGroupWithHttpInfo(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllGroups(int?, int?, string, DateTime?, DateTime?, int)

    Get all Contact Groups in paginated format

    Declaration
    PageGroupProjection GetAllGroups(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in list pagination (optional, default to 0)

    int? size

    Optional page size in list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageGroupProjection

    PageGroupProjection

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllGroupsWithHttpInfo(int?, int?, string, DateTime?, DateTime?, int)

    Get all Contact Groups in paginated format

    Declaration
    ApiResponse<PageGroupProjection> GetAllGroupsWithHttpInfo(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in list pagination (optional, default to 0)

    int? size

    Optional page size in list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageGroupProjection>

    ApiResponse of PageGroupProjection

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroup(Guid, int)

    Get group

    Declaration
    GroupDto GetGroup(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    GroupDto

    GroupDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupWithContacts(Guid, int)

    Get group and contacts belonging to it

    Declaration
    GroupContactsDto GetGroupWithContacts(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    GroupContactsDto

    GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupWithContactsPaginated(Guid, int?, int?, string, DateTime?, DateTime?, int)

    Declaration
    PageContactProjection GetGroupWithContactsPaginated(Guid groupId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int? page

    Optional page index in group contact pagination (optional, default to 0)

    int? size

    Optional page size in group contact pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageContactProjection

    PageContactProjection

    Remarks

    Get group and paginated contacts belonging to it

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupWithContactsPaginatedWithHttpInfo(Guid, int?, int?, string, DateTime?, DateTime?, int)

    Declaration
    ApiResponse<PageContactProjection> GetGroupWithContactsPaginatedWithHttpInfo(Guid groupId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int? page

    Optional page index in group contact pagination (optional, default to 0)

    int? size

    Optional page size in group contact pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageContactProjection>

    ApiResponse of PageContactProjection

    Remarks

    Get group and paginated contacts belonging to it

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupWithContactsWithHttpInfo(Guid, int)

    Get group and contacts belonging to it

    Declaration
    ApiResponse<GroupContactsDto> GetGroupWithContactsWithHttpInfo(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<GroupContactsDto>

    ApiResponse of GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupWithHttpInfo(Guid, int)

    Get group

    Declaration
    ApiResponse<GroupDto> GetGroupWithHttpInfo(Guid groupId, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<GroupDto>

    ApiResponse of GroupDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroups(int)

    Get all groups

    Declaration
    List<GroupProjection> GetGroups(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    List<GroupProjection>

    List<GroupProjection>

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetGroupsWithHttpInfo(int)

    Get all groups

    Declaration
    ApiResponse<List<GroupProjection>> GetGroupsWithHttpInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<List<GroupProjection>>

    ApiResponse of List<GroupProjection>

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    RemoveContactsFromGroup(Guid, UpdateGroupContacts, int)

    Remove contacts from a group

    Declaration
    GroupContactsDto RemoveContactsFromGroup(Guid groupId, UpdateGroupContacts updateGroupContacts, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    UpdateGroupContacts updateGroupContacts
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    GroupContactsDto

    GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    RemoveContactsFromGroupWithHttpInfo(Guid, UpdateGroupContacts, int)

    Remove contacts from a group

    Declaration
    ApiResponse<GroupContactsDto> RemoveContactsFromGroupWithHttpInfo(Guid groupId, UpdateGroupContacts updateGroupContacts, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid groupId
    UpdateGroupContacts updateGroupContacts
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<GroupContactsDto>

    ApiResponse of GroupContactsDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    • View Source
    In this article
    • Methods
      • AddContactsToGroup(Guid, UpdateGroupContacts, int)
      • AddContactsToGroupWithHttpInfo(Guid, UpdateGroupContacts, int)
      • CreateGroup(CreateGroupOptions, int)
      • CreateGroupWithHttpInfo(CreateGroupOptions, int)
      • DeleteGroup(Guid, int)
      • DeleteGroupWithHttpInfo(Guid, int)
      • GetAllGroups(int?, int?, string, DateTime?, DateTime?, int)
      • GetAllGroupsWithHttpInfo(int?, int?, string, DateTime?, DateTime?, int)
      • GetGroup(Guid, int)
      • GetGroupWithContacts(Guid, int)
      • GetGroupWithContactsPaginated(Guid, int?, int?, string, DateTime?, DateTime?, int)
      • GetGroupWithContactsPaginatedWithHttpInfo(Guid, int?, int?, string, DateTime?, DateTime?, int)
      • GetGroupWithContactsWithHttpInfo(Guid, int)
      • GetGroupWithHttpInfo(Guid, int)
      • GetGroups(int)
      • GetGroupsWithHttpInfo(int)
      • RemoveContactsFromGroup(Guid, UpdateGroupContacts, int)
      • RemoveContactsFromGroupWithHttpInfo(Guid, UpdateGroupContacts, int)
    Back to top See MailSlurp website for more information.