|
| 1 | +# com.Messente.Api.Api.StatisticsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://api.messente.com/v1* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**CreateStatisticsReport**](StatisticsApi.md#createstatisticsreport) | **POST** /statistics/reports | Requests statistics reports for each country |
| 8 | + |
| 9 | + |
| 10 | +<a name="createstatisticsreport"></a> |
| 11 | +# **CreateStatisticsReport** |
| 12 | +> StatisticsReportSuccess CreateStatisticsReport (StatisticsReportSettings statisticsReportSettings) |
| 13 | +
|
| 14 | +Requests statistics reports for each country |
| 15 | + |
| 16 | +### Example |
| 17 | +```csharp |
| 18 | +using System; |
| 19 | +using System.Diagnostics; |
| 20 | +using com.Messente.Api.Api; |
| 21 | +using com.Messente.Api.Client; |
| 22 | +using com.Messente.Api.Model; |
| 23 | + |
| 24 | +namespace Example |
| 25 | +{ |
| 26 | + public class CreateStatisticsReportExample |
| 27 | + { |
| 28 | + public static void Main() |
| 29 | + { |
| 30 | + // Configure HTTP basic authorization: basicAuth |
| 31 | + Configuration.Default.Username = "YOUR_USERNAME"; |
| 32 | + Configuration.Default.Password = "YOUR_PASSWORD"; |
| 33 | + |
| 34 | + var apiInstance = new StatisticsApi(); |
| 35 | + var statisticsReportSettings = new StatisticsReportSettings(); // StatisticsReportSettings | Settings for statistics report |
| 36 | +
|
| 37 | + try |
| 38 | + { |
| 39 | + // Requests statistics reports for each country |
| 40 | + StatisticsReportSuccess result = apiInstance.CreateStatisticsReport(statisticsReportSettings); |
| 41 | + Debug.WriteLine(result); |
| 42 | + } |
| 43 | + catch (Exception e) |
| 44 | + { |
| 45 | + Debug.Print("Exception when calling StatisticsApi.CreateStatisticsReport: " + e.Message ); |
| 46 | + } |
| 47 | + } |
| 48 | + } |
| 49 | +} |
| 50 | +``` |
| 51 | + |
| 52 | +### Parameters |
| 53 | + |
| 54 | +Name | Type | Description | Notes |
| 55 | +------------- | ------------- | ------------- | ------------- |
| 56 | + **statisticsReportSettings** | [**StatisticsReportSettings**](StatisticsReportSettings.md)| Settings for statistics report | |
| 57 | + |
| 58 | +### Return type |
| 59 | + |
| 60 | +[**StatisticsReportSuccess**](StatisticsReportSuccess.md) |
| 61 | + |
| 62 | +### Authorization |
| 63 | + |
| 64 | +[basicAuth](../README.md#basicAuth) |
| 65 | + |
| 66 | +### HTTP request headers |
| 67 | + |
| 68 | + - **Content-Type**: application/json |
| 69 | + - **Accept**: application/json |
| 70 | + |
| 71 | +[[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) |
| 72 | + |
0 commit comments