public class MauticApi
extends java.lang.Object
OAuthService instance, that will implement the
authentication protocol used to connect to the Mautic endpoints.| Constructor and Description |
|---|
MauticApi(OAuthService oauthService)
Creates a new MauticApi object.
|
| Modifier and Type | Method and Description |
|---|---|
ListContactsResult |
listContacts() |
ListContactsResult |
listContacts(Search search) |
public MauticApi(OAuthService oauthService)
OAuthService interface to authenticate in the
Mautic instance and make requests.oauthService - an instance of an OAuthServicepublic ListContactsResult listContacts() throws MauticException
MauticExceptionpublic ListContactsResult listContacts(Search search) throws MauticException
MauticException