@@ -46,7 +46,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
46
46
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
47
47
48
48
$api_instance = new SendinBlue\Client\Api\ContactsApi();
49
- $listId = "listId_example" ; // string | Id of the list
49
+ $listId = 789 ; // int | Id of the list
50
50
$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts
51
51
52
52
try {
62
62
63
63
Name | Type | Description | Notes
64
64
------------- | ------------- | ------------- | -------------
65
- ** listId** | ** string ** | Id of the list |
65
+ ** listId** | ** int ** | Id of the list |
66
66
** contactEmails** | [ ** \SendinBlue\Client\Model\AddRemoveContactToList** ] ( ../Model/AddRemoveContactToList.md ) | Emails addresses of the contacts |
67
67
68
68
### Return type
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
177
177
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
178
178
179
179
# ** createFolder**
180
- > \SendinBlue\Client\Model\CreateModel createFolder($name )
180
+ > \SendinBlue\Client\Model\CreateModel createFolder($createFolder )
181
181
182
182
Create a folder
183
183
@@ -192,10 +192,10 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
192
192
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
193
193
194
194
$api_instance = new SendinBlue\Client\Api\ContactsApi();
195
- $name = new \SendinBlue\Client\Model\CreaUpdateFolder (); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder
195
+ $createFolder = new \SendinBlue\Client\Model\CreateUpdateFolder (); // \SendinBlue\Client\Model\CreateUpdateFolder | Name of the folder
196
196
197
197
try {
198
- $result = $api_instance->createFolder($name );
198
+ $result = $api_instance->createFolder($createFolder );
199
199
print_r($result);
200
200
} catch (Exception $e) {
201
201
echo 'Exception when calling ContactsApi->createFolder: ', $e->getMessage(), PHP_EOL;
@@ -207,7 +207,7 @@ try {
207
207
208
208
Name | Type | Description | Notes
209
209
------------- | ------------- | ------------- | -------------
210
- ** name ** | [ ** \SendinBlue\Client\Model\CreaUpdateFolder ** ] ( ../Model/CreaUpdateFolder .md ) | Name of the folder |
210
+ ** createFolder ** | [ ** \SendinBlue\Client\Model\CreateUpdateFolder ** ] ( ../Model/CreateUpdateFolder .md ) | Name of the folder |
211
211
212
212
### Return type
213
213
@@ -288,7 +288,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
288
288
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
289
289
290
290
$api_instance = new SendinBlue\Client\Api\ContactsApi();
291
- $attributeId = "attributeId_example" ; // string | id of the attribute
291
+ $attributeId = 789 ; // int | id of the attribute
292
292
293
293
try {
294
294
$api_instance->deleteAttribute($attributeId);
@@ -302,7 +302,7 @@ try {
302
302
303
303
Name | Type | Description | Notes
304
304
------------- | ------------- | ------------- | -------------
305
- ** attributeId** | ** string ** | id of the attribute |
305
+ ** attributeId** | ** int ** | id of the attribute |
306
306
307
307
### Return type
308
308
@@ -335,7 +335,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
335
335
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
336
336
337
337
$api_instance = new SendinBlue\Client\Api\ContactsApi();
338
- $folderId = "folderId_example" ; // string | Id of the folder
338
+ $folderId = 789 ; // int | Id of the folder
339
339
340
340
try {
341
341
$api_instance->deleteFolder($folderId);
@@ -349,7 +349,7 @@ try {
349
349
350
350
Name | Type | Description | Notes
351
351
------------- | ------------- | ------------- | -------------
352
- ** folderId** | ** string ** | Id of the folder |
352
+ ** folderId** | ** int ** | Id of the folder |
353
353
354
354
### Return type
355
355
@@ -382,7 +382,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
382
382
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
383
383
384
384
$api_instance = new SendinBlue\Client\Api\ContactsApi();
385
- $listId = "listId_example" ; // string | Id of the list
385
+ $listId = 789 ; // int | Id of the list
386
386
387
387
try {
388
388
$api_instance->deleteList($listId);
@@ -396,7 +396,7 @@ try {
396
396
397
397
Name | Type | Description | Notes
398
398
------------- | ------------- | ------------- | -------------
399
- ** listId** | ** string ** | Id of the list |
399
+ ** listId** | ** int ** | Id of the list |
400
400
401
401
### Return type
402
402
@@ -619,8 +619,8 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
619
619
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
620
620
621
621
$api_instance = new SendinBlue\Client\Api\ContactsApi();
622
- $listId = "listId_example" ; // string | Id of the list
623
- $modifiedSince = "modifiedSince_example" ; // string | Filter the contacts modified after a given date (YYYY-MM-DD HH :mm:ss)
622
+ $listId = 789 ; // int | Id of the list
623
+ $modifiedSince = new \DateTime("2013-10-20T19:20:30+01:00") ; // \DateTime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH :mm:ss.SSSZ )
624
624
$limit = 50; // int | Number of documents per page
625
625
$offset = 0; // int | Index of the first document of the page
626
626
@@ -637,8 +637,8 @@ try {
637
637
638
638
Name | Type | Description | Notes
639
639
------------- | ------------- | ------------- | -------------
640
- ** listId** | ** string ** | Id of the list |
641
- ** modifiedSince** | ** string ** | Filter the contacts modified after a given date (YYYY-MM-DD HH :mm: ss ) | [ optional]
640
+ ** listId** | ** int ** | Id of the list |
641
+ ** modifiedSince** | ** \DateTime ** | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH :mm: ss .SSSZ ) | [ optional]
642
642
** limit** | ** int** | Number of documents per page | [ optional] [ default to 50]
643
643
** offset** | ** int** | Index of the first document of the page | [ optional] [ default to 0]
644
644
@@ -673,7 +673,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
673
673
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
674
674
675
675
$api_instance = new SendinBlue\Client\Api\ContactsApi();
676
- $folderId = "folderId_example" ; // string | id of the folder
676
+ $folderId = 789 ; // int | id of the folder
677
677
678
678
try {
679
679
$result = $api_instance->getFolder($folderId);
@@ -688,7 +688,7 @@ try {
688
688
689
689
Name | Type | Description | Notes
690
690
------------- | ------------- | ------------- | -------------
691
- ** folderId** | ** string ** | id of the folder |
691
+ ** folderId** | ** int ** | id of the folder |
692
692
693
693
### Return type
694
694
@@ -721,7 +721,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
721
721
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
722
722
723
723
$api_instance = new SendinBlue\Client\Api\ContactsApi();
724
- $folderId = "folderId_example" ; // string | Id of the folder
724
+ $folderId = 789 ; // int | Id of the folder
725
725
$limit = 10; // int | Number of documents per page
726
726
$offset = 0; // int | Index of the first document of the page
727
727
@@ -738,7 +738,7 @@ try {
738
738
739
739
Name | Type | Description | Notes
740
740
------------- | ------------- | ------------- | -------------
741
- ** folderId** | ** string ** | Id of the folder |
741
+ ** folderId** | ** int ** | Id of the folder |
742
742
** limit** | ** int** | Number of documents per page | [ optional] [ default to 10]
743
743
** offset** | ** int** | Index of the first document of the page | [ optional] [ default to 0]
744
744
@@ -823,7 +823,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
823
823
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
824
824
825
825
$api_instance = new SendinBlue\Client\Api\ContactsApi();
826
- $listId = "listId_example" ; // string | Id of the list
826
+ $listId = 789 ; // int | Id of the list
827
827
828
828
try {
829
829
$result = $api_instance->getList($listId);
@@ -838,7 +838,7 @@ try {
838
838
839
839
Name | Type | Description | Notes
840
840
------------- | ------------- | ------------- | -------------
841
- ** listId** | ** string ** | Id of the list |
841
+ ** listId** | ** int ** | Id of the list |
842
842
843
843
### Return type
844
844
@@ -971,7 +971,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
971
971
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
972
972
973
973
$api_instance = new SendinBlue\Client\Api\ContactsApi();
974
- $listId = "listId_example" ; // string | Id of the list
974
+ $listId = 789 ; // int | Id of the list
975
975
$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails adresses of the contact
976
976
977
977
try {
@@ -987,7 +987,7 @@ try {
987
987
988
988
Name | Type | Description | Notes
989
989
------------- | ------------- | ------------- | -------------
990
- ** listId** | ** string ** | Id of the list |
990
+ ** listId** | ** int ** | Id of the list |
991
991
** contactEmails** | [ ** \SendinBlue\Client\Model\AddRemoveContactToList** ] ( ../Model/AddRemoveContactToList.md ) | Emails adresses of the contact |
992
992
993
993
### Return type
@@ -1105,7 +1105,7 @@ void (empty response body)
1105
1105
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
1106
1106
1107
1107
# ** updateFolder**
1108
- > updateFolder($folderId, $name )
1108
+ > updateFolder($folderId, $updateFolder )
1109
1109
1110
1110
Update a contact folder
1111
1111
@@ -1120,11 +1120,11 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
1120
1120
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
1121
1121
1122
1122
$api_instance = new SendinBlue\Client\Api\ContactsApi();
1123
- $folderId = "folderId_example" ; // string | Id of the folder
1124
- $name = new \SendinBlue\Client\Model\CreaUpdateFolder (); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder
1123
+ $folderId = 789 ; // int | Id of the folder
1124
+ $updateFolder = new \SendinBlue\Client\Model\CreateUpdateFolder (); // \SendinBlue\Client\Model\CreateUpdateFolder | Name of the folder
1125
1125
1126
1126
try {
1127
- $api_instance->updateFolder($folderId, $name );
1127
+ $api_instance->updateFolder($folderId, $updateFolder );
1128
1128
} catch (Exception $e) {
1129
1129
echo 'Exception when calling ContactsApi->updateFolder: ', $e->getMessage(), PHP_EOL;
1130
1130
}
@@ -1135,8 +1135,8 @@ try {
1135
1135
1136
1136
Name | Type | Description | Notes
1137
1137
------------- | ------------- | ------------- | -------------
1138
- ** folderId** | ** string ** | Id of the folder |
1139
- ** name ** | [ ** \SendinBlue\Client\Model\CreaUpdateFolder ** ] ( ../Model/CreaUpdateFolder .md ) | Name of the folder |
1138
+ ** folderId** | ** int ** | Id of the folder |
1139
+ ** updateFolder ** | [ ** \SendinBlue\Client\Model\CreateUpdateFolder ** ] ( ../Model/CreateUpdateFolder .md ) | Name of the folder |
1140
1140
1141
1141
### Return type
1142
1142
@@ -1169,7 +1169,7 @@ SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key',
1169
1169
// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
1170
1170
1171
1171
$api_instance = new SendinBlue\Client\Api\ContactsApi();
1172
- $listId = "listId_example" ; // string | Id of the list
1172
+ $listId = 789 ; // int | Id of the list
1173
1173
$updateList = new \SendinBlue\Client\Model\UpdateList(); // \SendinBlue\Client\Model\UpdateList | Values to update a list
1174
1174
1175
1175
try {
@@ -1184,7 +1184,7 @@ try {
1184
1184
1185
1185
Name | Type | Description | Notes
1186
1186
------------- | ------------- | ------------- | -------------
1187
- ** listId** | ** string ** | Id of the list |
1187
+ ** listId** | ** int ** | Id of the list |
1188
1188
** updateList** | [ ** \SendinBlue\Client\Model\UpdateList** ] ( ../Model/UpdateList.md ) | Values to update a list |
1189
1189
1190
1190
### Return type
0 commit comments