You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**emails** | **List<String>** | Emails to add to a list | [optional]
7
+
**emails** | **List<String>** | Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
[**removeContactFromList**](ContactsApi.md#removeContactFromList) | **POST** /contacts/lists/{listId}/contacts/remove | Remove existing contacts from a list
28
+
[**removeContactFromList**](ContactsApi.md#removeContactFromList) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
String email ="email_example"; // String | Email address (urlencoded) of the contact
773
+
LocalDate startDate =LocalDate.now(); // LocalDate | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
774
+
LocalDate endDate =LocalDate.now(); // LocalDate | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
714
775
try {
715
-
GetContactCampaignStats result = apiInstance.getContactStats(email);
776
+
GetContactCampaignStats result = apiInstance.getContactStats(email, startDate, endDate);
716
777
System.out.println(result);
717
778
} catch (ApiException e) {
718
779
System.err.println("Exception when calling ContactsApi#getContactStats");
**email** | **String**| Email address (urlencoded) of the contact |
789
+
**startDate** | **LocalDate**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional]
790
+
**endDate** | **LocalDate**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional]
Long limit =50L; // Long | Number of documents per page
773
836
Long offset =0L; // Long | Index of the first document of the page
774
-
OffsetDateTime modifiedSince =newOffsetDateTime(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
837
+
OffsetDateTime modifiedSince =OffsetDateTime.now(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
775
838
try {
776
839
GetContacts result = apiInstance.getContacts(limit, offset, modifiedSince);
777
840
System.out.println(result);
@@ -806,7 +869,7 @@ Name | Type | Description | Notes
OffsetDateTime modifiedSince =newOffsetDateTime(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
899
+
OffsetDateTime modifiedSince =OffsetDateTime.now(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
837
900
Long limit =50L; // Long | Number of documents per page
838
901
Long offset =0L; // Long | Index of the first document of the page
839
902
try {
@@ -871,7 +934,7 @@ Name | Type | Description | Notes
871
934
# **getFolder**
872
935
> GetFolder getFolder(folderId)
873
936
874
-
Returns folder details
937
+
Returns a folder's details
875
938
876
939
### Example
877
940
```java
@@ -930,7 +993,7 @@ Name | Type | Description | Notes
**value** | **String** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
8
-
**enumeration** | [**List<CreateAttributeEnumeration>**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attributes category is "category'. For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}] | [optional]
8
+
**enumeration** | [**List<CreateAttributeEnumeration>**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}] | [optional]
9
9
**type** | [**TypeEnum**](#TypeEnum) | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional]
0 commit comments