The ThinkAutomation Web Services

<< Click to Display Table of Contents >>

Navigation:  Advanced >

The ThinkAutomation Web Services

The ThinkAutomation Web Services provide a number of functions required by remote ThinkAutomation Administrators, ThinkAutomation Client and for the Wait For Validation & Twilio Actions.


If are not running the ThinkAutomation Administrator or ThinkAutomation Client on remote computers and will not be using the Validation or Twilio Actions then the ThinkAutomation Web Services are not required.


During installation the web services are installed under your Default Web Site in IIS in a virtual directory called 'ThinkAutomation'.


This points to the C:\Program Files\ThinkAutomationV4\WebServices\ folder.


The Web Services use the .NET Framework 4.5 - which is also installed during the main ThinkAutomation Setup (if its not already installed).


You can move the Web Services to a different web site or virtual directory. If you do move, make sure the .NET Framework version of Application Pool is set to .NET Framework v4.


For more details on system requirements for utilizing the ThinkAutomation Web Services, please refer to Installing ThinkAutomation



Public Address

If you will be using the ThinkAutomation Administrator or ThinkAutomation Client on computers outside of your network, or if you will be using the Wait For Validation or Twilio Actions then you need to specify the External Web Services URL in your ThinkAutomation Program Options (File Tab - Program Options in the ThinkAutomation Administrator):




This should be the address of the Web Services when accessed externally.


Click the Test button to verify the address. This will open your web browser at the address specified. You should get a web page that looks like this:




Adding Messages To ThinkAutomation Using The Web Services

The AddMessage method can be used to add new messages to ThinkAutomation to be processed by a given Account/Trigger. This enables developers to create their own methods of adding messages to ThinkAutomation. Messages added by the web service will be processed immediately by the ThinkAutomation Message Processor.




You must specify a UserName and Password. The Password can be sent as a MD5 Hash of the actual password (base64 encoded) or as a plain-text password.


You must also specify the AccountID. This is the ID of the ThinkAutomation Account you want to assign the message to. The user must have access to this Account. You can view the Account ID in the Account Settings - Direct API tab.


The TriggerID can be specified if you want the message to be processed by a specific Trigger within the Account. If no TriggerID is specified then ThinkAutomation will assign a Trigger to the message based on the first Trigger for the Account that matches the Trigger Conditions.


The MimeText should be set to the full mime-text of the message.


To obtain the Account & TriggerID's you can call the GetAccountXML method. This will return the ThinkAutomation MetaData XML for a given user.

ThinkAutomation © Parker Software 2016