|
|
 |
Method Name: GetOutboundItems
The GetOutboundItems method produces
Call Detail Records (CDRs).
When an outbound notification or inbound call is completed on the iPing system, the status of the call and other information is contained in an Call Detail Record. The iPing API provides the GetOutboundItems method for viewing the CDRs. CDRs are returned as XML documents that can be formatted and viewed via a web page or a web application.
API Notes
XML Example
QueryString Example
API Notes - Method: GetOutboundItems
| Arguments |
Value Examples |
Notes |
| user_name* |
testdriver |
Account unique identifier. |
| password* |
12345 |
|
| start_dt* |
05/11/2002 |
The starting date of the returned list |
| end_dt* |
05/12/2002 |
The ending date of the returned list |
| item_start |
100 |
Cursor to skip the first <item_start> elements. item_start is an optional parameter.
Default value item_start=0 |
| item_count |
20 |
Max number of elements to return (0 < item_count <= 100)
item_count is an optional parameter.
Default value item_count=100 |
| storage_type |
past or future [default=future] |
To list calls that have already been completed set storage_type to "past" |
| tracking_id |
acme125615243 |
You can list a single notification by setting the tracking_id for the GetOutboundItems method to
the tracking_id value that you assigned to the notification when requested using the PutNotification method. |
*Denotes required fields.
Note: The max number of items returned will be 100 per request. To get a greater number of calls it is necessary to change the value of item_start. For example: item_start=0 returns the first 100 records (0-99) , item_start=100 returns the next 100 records, etc.
XML Example
<?xml version="1.0"?>
<bSmartXML>
<data>
<method_name value="getoutbounditems"/>
<user_name value="testdriver"/>
<password value="12345"/>
<start_dt value="05/11/2002"/>
<end_dt value="05/12/2002"/>
<item_start value="0"/>
<item_count value="100"/>
<storage_type value="past"/>
<tracking_id value=""/>
</data>
</bSmartXML>
QueryString Example
https://www.iping.com/services/iping.asp?method_name=getoutbounditems&user_name=testdriver&password=12345&start_dt=05/11/2002&end_dt=05/12/2002
&item_start=0&item_count=100&storage_type=past
|
|