Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.44 KB

CountriesApi.md

File metadata and controls

64 lines (48 loc) · 1.44 KB

IO.ClickSend.ClickSend.Api.CountriesApi

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

Method HTTP request Description
CountriesGet GET /countries Get all country codes

CountriesGet

string CountriesGet ()

Get all country codes

Get all countries

Example

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

namespace Example
{
    public class CountriesGetExample
    {
        public void main()
        {
            var apiInstance = new CountriesApi();

            try
            {
                // Get all country codes
                string result = apiInstance.CountriesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CountriesApi.CountriesGet: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

string

Authorization

No authorization required

HTTP request headers

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

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