Search Results for

    Show / Hide Table of Contents

    Interface IConsentControllerApiSync

    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 IConsentControllerApiSync : IApiAccessor

    Methods

    View Source

    CheckSendingConsentForEmailAddress(string, int)

    Declaration
    OptInSendingConsentDto CheckSendingConsentForEmailAddress(string emailAddress, int operationIndex = 0)
    Parameters
    Type Name Description
    string emailAddress

    Email address to check consent for

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    OptInSendingConsentDto

    OptInSendingConsentDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CheckSendingConsentForEmailAddressWithHttpInfo(string, int)

    Declaration
    ApiResponse<OptInSendingConsentDto> CheckSendingConsentForEmailAddressWithHttpInfo(string emailAddress, int operationIndex = 0)
    Parameters
    Type Name Description
    string emailAddress

    Email address to check consent for

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<OptInSendingConsentDto>

    ApiResponse of OptInSendingConsentDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetOptInIdentities(int?, int?, string, int)

    Declaration
    PageOptInIdentityProjection GetOptInIdentities(int? page = null, int? size = null, string sort = 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)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageOptInIdentityProjection

    PageOptInIdentityProjection

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetOptInIdentitiesWithHttpInfo(int?, int?, string, int)

    Declaration
    ApiResponse<PageOptInIdentityProjection> GetOptInIdentitiesWithHttpInfo(int? page = null, int? size = null, string sort = 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)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageOptInIdentityProjection>

    ApiResponse of PageOptInIdentityProjection

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    RevokeOptInConsentForEmailAddress(string, int)

    Declaration
    OptInSendingConsentDto RevokeOptInConsentForEmailAddress(string emailAddress, int operationIndex = 0)
    Parameters
    Type Name Description
    string emailAddress

    Email address to revoke consent for

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    OptInSendingConsentDto

    OptInSendingConsentDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    RevokeOptInConsentForEmailAddressWithHttpInfo(string, int)

    Declaration
    ApiResponse<OptInSendingConsentDto> RevokeOptInConsentForEmailAddressWithHttpInfo(string emailAddress, int operationIndex = 0)
    Parameters
    Type Name Description
    string emailAddress

    Email address to revoke consent for

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<OptInSendingConsentDto>

    ApiResponse of OptInSendingConsentDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SendOptInConsentForEmailAddress(OptInConsentOptions, int)

    Send a verification code to a user once they have explicitly submitted their email address

    Declaration
    OptInConsentSendResult SendOptInConsentForEmailAddress(OptInConsentOptions optInConsentOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    OptInConsentOptions optInConsentOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    OptInConsentSendResult

    OptInConsentSendResult

    Remarks

    Send double-opt in consent for an email address

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SendOptInConsentForEmailAddressWithHttpInfo(OptInConsentOptions, int)

    Send a verification code to a user once they have explicitly submitted their email address

    Declaration
    ApiResponse<OptInConsentSendResult> SendOptInConsentForEmailAddressWithHttpInfo(OptInConsentOptions optInConsentOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    OptInConsentOptions optInConsentOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<OptInConsentSendResult>

    ApiResponse of OptInConsentSendResult

    Remarks

    Send double-opt in consent for an email address

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    • View Source
    In this article
    Back to top See MailSlurp website for more information.