ERROR: Username or Password Missing or Incorrect
API Instructions for Call Records
URL:
https://tollfreeforwarding.com/api
EXAMPLES:
Gets all records so far today GMT
https://tollfreeforwarding.com/api?u=myusername&p=mypass
Get all records from yesterday GMT
https://tollfreeforwarding.com/api?u=myusername&p=mypass&range=yesterday
Get all records from yesterday Pacific Daylight Time (PDT)
https://tollfreeforwarding.com/api?u=myusername&p=mypass&range=yesterday&timezone=-7
Get all records from today 09:00 to 13:00 PDT
https://tollfreeforwarding.com/api?u=myusername&p=mypass&rangeStart=2007041309&rangeEnd=2007041313&timezone=-7
Get all records so far today (PDT) for phone numbers 2134521551,8884521551
https://tollfreeforwarding.com/api?u=myusername&p=mypass&timezone=-7&dnisList=2134521551,8884521551
Get all records so far today GMT in XML
https://tollfreeforwarding.com/api?u=myusername&p=mypass&format=xml
Get all records so far today GMT in XML to DNIS 8884521551, but only fields CallerID and durationSeconds.
https://tollfreeforwarding.com/api?u=myusername&p=mypass&format=xml&dnisList=8884521551&fields=CallerID,durationSeconds
OPTIONS:
?u= REQUIRED username
&p= REQUIRED password !!! if you run from a browser, be sure to clear your history !!!
&range= OPTIONAL, defaults to yesterday. One of: lastHour,currentHour,yesterday,today,lastMonth, or currentMonth
&rangeStart= OPTIONAL, ignored if range present. One of: YYYMMDD, YYYMMDDhh, or YYYYMMDDhhmm
&rangeEnd= OPTIONAL, only used if rangeStart present. One of: YYYMMDD, YYYMMDDhh, or YYYYMMDDhhmm
&timzeone= OPTIONAL, defaults to GMT. Integer -24 to +24
&dnisList= OPTIONAL, defaults to all. Comma delimited list of DNISs (phone numbers). Example: &dnislist=8884521505,2134521505
&format= OPTIONAL, defaults to html. One of: comma,xml,html
&fields= OPTIONAL, defaults to all. Any of: GUID,DNIS,appear,callerID,DestinationNumber,setuptime,timeanswer,timeend,durationSeconds
&orderBy= OPTIONAL, defaults to setuptime. Any of: DNIS,callingnumber,DestinationNumber,setuptime,timeanswer,timeend,durationSeconds
&delivery= OPTIONAL, defaults to HTTPresponse. One of: HTTPResponse,email,ftp
&returnIncompleteCalls = OPTIONAL, defaults to 0. Integer 0 or 1
NOTES:
DNIS is the phone number supplied by us and only contains digits, no special characters.
More specifically, it is the number we use internally to identify each phone number.
The DNIS is normally very similar to the actual number callers dial. In some special
cases, this number may be very different from what callers dial. Example: Our China
tollfree number is 10-800-712-1111/10-800-120-1111 which is associated to an internal
DNIS that happens to be only 10 digits long.
GUID is the globally unique ID generated by our telephone network.