Skip to content

Latest commit

 

History

History
129 lines (98 loc) · 3.17 KB

StatisticsApi.md

File metadata and controls

129 lines (98 loc) · 3.17 KB

IO.ClickSend.ClickSend.Api.StatisticsApi

All URIs are relative to https://rest.clicksend.com/v3

Method HTTP request Description
StatisticsSmsGet GET /statistics/sms Get sms statistics
StatisticsVoiceGet GET /statistics/voice Get voice statistics

StatisticsSmsGet

string StatisticsSmsGet ()

Get sms statistics

Get sms statistics

Example

using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;

namespace Example
{
    public class StatisticsSmsGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: BasicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new StatisticsApi();

            try
            {
                // Get sms statistics
                string result = apiInstance.StatisticsSmsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StatisticsApi.StatisticsSmsGet: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

string

Authorization

BasicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

StatisticsVoiceGet

string StatisticsVoiceGet ()

Get voice statistics

Get voice statistics

Example

using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;

namespace Example
{
    public class StatisticsVoiceGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: BasicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new StatisticsApi();

            try
            {
                // Get voice statistics
                string result = apiInstance.StatisticsVoiceGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StatisticsApi.StatisticsVoiceGet: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

string

Authorization

BasicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]