Skip to content

Commit f920f88

Browse files
latest v4.0.0
1 parent d3f1d5a commit f920f88

File tree

9 files changed

+58
-28
lines changed

9 files changed

+58
-28
lines changed
-150 KB
Binary file not shown.

.vs/sib_api_v3_sdk/v15/Server/sqlite3/db.lock

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/EmailCampaignsApi.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
296296

297297
<a name="getemailcampaign"></a>
298298
# **GetEmailCampaign**
299-
> GetEmailCampaign GetEmailCampaign (long? campaignId)
299+
> GetEmailCampaign GetEmailCampaign (long? campaignId, string statistics = null)
300300
301301
Get an email campaign report
302302

@@ -325,11 +325,12 @@ namespace Example
325325
326326
var apiInstance = new EmailCampaignsApi();
327327
var campaignId = 789; // long? | Id of the campaign
328+
var statistics = statistics_example; // string | Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. (optional)
328329
329330
try
330331
{
331332
// Get an email campaign report
332-
GetEmailCampaign result = apiInstance.GetEmailCampaign(campaignId);
333+
GetEmailCampaign result = apiInstance.GetEmailCampaign(campaignId, statistics);
333334
Debug.WriteLine(result);
334335
}
335336
catch (Exception e)
@@ -346,6 +347,7 @@ namespace Example
346347
Name | Type | Description | Notes
347348
------------- | ------------- | ------------- | -------------
348349
**campaignId** | **long?**| Id of the campaign |
350+
**statistics** | **string**| Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. | [optional]
349351

350352
### Return type
351353

@@ -364,7 +366,7 @@ Name | Type | Description | Notes
364366

365367
<a name="getemailcampaigns"></a>
366368
# **GetEmailCampaigns**
367-
> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null)
369+
> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string statistics = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null)
368370
369371
Return all your created email campaigns
370372

@@ -394,6 +396,7 @@ namespace Example
394396
var apiInstance = new EmailCampaignsApi();
395397
var type = type_example; // string | Filter on the type of the campaigns (optional)
396398
var status = status_example; // string | Filter on the status of the campaign (optional)
399+
var statistics = statistics_example; // string | Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. (optional)
397400
var startDate = startDate_example; // string | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)
398401
var endDate = endDate_example; // string | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)
399402
var limit = 789; // long? | Number of documents per page (optional) (default to 50)
@@ -403,7 +406,7 @@ namespace Example
403406
try
404407
{
405408
// Return all your created email campaigns
406-
GetEmailCampaigns result = apiInstance.GetEmailCampaigns(type, status, startDate, endDate, limit, offset, sort);
409+
GetEmailCampaigns result = apiInstance.GetEmailCampaigns(type, status, statistics, startDate, endDate, limit, offset, sort);
407410
Debug.WriteLine(result);
408411
}
409412
catch (Exception e)
@@ -421,6 +424,7 @@ Name | Type | Description | Notes
421424
------------- | ------------- | ------------- | -------------
422425
**type** | **string**| Filter on the type of the campaigns | [optional]
423426
**status** | **string**| Filter on the status of the campaign | [optional]
427+
**statistics** | **string**| Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. | [optional]
424428
**startDate** | **string**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
425429
**endDate** | **string**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
426430
**limit** | **long?**| Number of documents per page | [optional] [default to 50]

0 commit comments

Comments
 (0)