Overview
Lists VoiceTouch Summary based on information sent via an http form post.
UPDATES:
- March 2015
- Per line summary in new <lines> element
- Most recent 5 calls in new <calls> element with contact name and contact link (if match found)
Post Url
https://www.allclients.com/api/2/GetVoiceTouchSummary.aspx
- SSL is requred
- White Label CRM Customers: Replace www.allclients.com with your White Label CRM domain name.
Form Fields
Field | Max Length* | Required | Notes |
response_type | No | Default results will be returned in XML.
Set this field value to json to return results in JSON format |
|
accountid | Yes | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
teammemberid | No | Default is 0 for Account Owner | |
apikey | Yes | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel |
Sample Results
Success Message
<results>
<voicetouchsummary>
<unreviewed>
<callmessage>4</callmessage>
<callnomessage>2</callnomessage>
<texts>5</texts>
</unreviewed>
<lines>
<line>
<number>(707) 555-1234</number>
<lineindex>1</lineindex>
<nickname>The nickname for this line</nickname>
<unreviewed>
<callmessage>4</callmessage>
<callnomessage>2</callnomessage>
<texts>5</texts>
</unreviewed>
</line>
<line>
<number>(888) 123-4567</number>
<lineindex>2</lineindex>
<nickname>My Toll Free Line</nickname>
<unreviewed>
<callmessage>0</callmessage>
<callnomessage>0</callnomessage>
<texts>0</texts>
</unreviewed>
</line>
</lines>
<calls>
<lineindex>2</lineindex>
<tophonenumber>(888) 123-4567</tophonenumber>
<extension>1976</extension>
<fromphonenumber>(707) 987-6543</fromphonenumber>
<date>3/1/2014 4:00:39 PM</date>
<hasmessage>True</hasmessage>
<contact>
<name>Brian Smith</name>
<url>ContactDetails.aspx?ID=12345</url>
</contact>
</calls>
</voicetouchsummary>
</results>
Sample Failure Message
<?xml version="1.0"?>
<results>
<error>Authentication failed</error>
</results>