Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IO.DialMyCalls - the C# library for the DialMyCalls API

The DialMyCalls API

For more information, please visit https://www.dialmycalls.com

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

Dependencies

The DLLs included in the package may not be the latest version. We recommned using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:

Install-Package RestSharp
Install-Package Newtonsoft.Json

NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742

Installation

Run the following command to generate the DLL

  • [Mac/Linux] /bin/sh build.sh
  • [Windows] build.bat

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

using IO.DialMyCalls.Api;
using IO.DialMyCalls.Client;
using Model;

Getting Started

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

namespace Example
{
    public class Example
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-Auth-ApiKey", "YOUR_API_KEY");

            var apiInstance = new Accounts();
            var createAccessAccountParameters = new CreateAccessAccountParameters(); // CreateAccessAccountParameters | Request body

            try
            {
                // Add Access Account
                Object result = apiInstance.CreateAccessAccount(createAccessAccountParameters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling Accounts.CreateAccessAccount: " + e.Message );
            }
        }
    }
}

Documentation for API Endpoints

All URIs are relative to https://api.dialmycalls.com/2.0

Class Method HTTP request Description
Accounts CreateAccessAccount POST /accessaccount Add Access Account
Accounts DeleteAccessAccountById DELETE /accessaccount/{AccessAccountId} Delete Access Account
Accounts GetAccessAccountById GET /accessaccount/{AccessAccountId} Get Access Account
Accounts GetAccessAccounts GET /accessaccounts List Access Accounts
Accounts GetAccount GET /account Get Account
Accounts UpdateAccessAccountById PUT /accessaccount/{AccessAccountId} Update Access Account
CallerIds CreateCallerId POST /callerid Add Caller ID
CallerIds CreateUnverifiedCallerId POST /verify/callerid Add Caller ID (Unverified)
CallerIds DeleteCallerIdById DELETE /callerid/{CalleridId} Delete Caller ID
CallerIds GetCallerIdById GET /callerid/{CalleridId} Get Caller ID
CallerIds GetCallerIds GET /callerids List Caller IDs
CallerIds UpdateCallerIdById PUT /callerid/{CalleridId} Update Caller ID
CallerIds VerifyCallerIdById PUT /verify/callerid/{CalleridId} Verify Caller ID
Calls CancelCallById DELETE /service/call/{CallId} Cancel Call
Calls CreateCall POST /service/call Create Call
Calls GetCallById GET /service/call/{CallId} Get Call
Calls GetCallRecipientsByCallId GET /service/call/{CallId}/recipients Get Call Recipients
Calls GetCalls GET /service/calls List Calls
Contacts CreateContact POST /contact Add Contact
Contacts DeleteContactById DELETE /contact/{ContactId} Delete Contact
Contacts GetContactById GET /contact/{ContactId} Get Contact
Contacts GetContacts GET /contacts List Contacts
Contacts GetContactsByGroupId GET /contacts/{GroupId} List Contacts in Group
Contacts UpdateContactById PUT /contact/{ContactId} Update Contact
DoNotContacts GetDoNotContacts GET /donotcontacts List DoNotContacts
Groups CreateGroup POST /group Add Group
Groups DeleteGroupById DELETE /group/{GroupId} Delete Group
Groups GetGroupById GET /group/{GroupId} Get Group
Groups GetGroups GET /groups List Groups
Groups UpdateGroupById PUT /group/{GroupId} Update Group
Keywords DeleteKeywordByID DELETE /keyword/{KeywordId} Delete Keyword
Keywords GetKeywordByID GET /keyword/{KeywordId} Get Keyword
Keywords GetKeywords GET /keywords List Keywords
Recordings CreateRecording POST /recording/tts Create Recording (Text-to-Speech)
Recordings CreateRecordingByPhone POST /recording/phone Create Recording (Phone)
Recordings CreateRecordingByUrl POST /recording/url Create Recording (URL)
Recordings DeleteRecordingById DELETE /recording/{RecordingId} Delete Recording
Recordings GetRecordingById GET /recording/{RecordingId} Get Recording
Recordings GetRecordings GET /recordings List Recordings
Recordings UpdateRecordingById PUT /recording/{RecordingId} Update Recording
Texts CancelTextById DELETE /service/text/{TextId} Cancel Text
Texts CreateText POST /service/text Create Text
Texts DeleteIncomingTextById DELETE /incoming/text/{TextId} Delete Incoming Text
Texts GetIncomingTextById GET /incoming/text/{TextId} Get Incoming Text
Texts GetIncomingTexts GET /incoming/texts List Incoming Texts
Texts GetShortCodes GET /shortcodes List Shortcodes
Texts GetTextById GET /service/text/{TextId} Get Text
Texts GetTextRecipientsByTextId GET /service/text/{TextId}/recipients Get Text Recipients
Texts GetTexts GET /service/texts List Texts
VanityNumbers DeleteVanityNumberById DELETE /vanitynumber/{VanityNumberId} Delete Vanity Number
VanityNumbers GetVanityNumberById GET /vanitynumber/{VanityNumberId} Get Vanity Number
VanityNumbers GetVanityNumbers GET /vanitynumbers List Vanity Numbers
VanityNumbers UpdateVanityNumberById PUT /vanitynumber/{VanityNumberId} Update Vanity Number

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: X-Auth-ApiKey
  • Location: HTTP header

About

DialMyCalls Voice & Text Broadcasting

Resources

License

Packages

No packages published

Languages