CallFire Solutions

getBroadcastStats only shows disposition stats identified in campaigns

Follow

Question:

After running a campaign, the Callfire UI shows that a number, 2135551234, has a status "Opted Out."

When I run the API getBroadcastStats, it returns this for 2135551234:

broadcast ID: 9999999999999
stdClass Object
(
[UsageStats] => stdClass Object
(
[Duration] => 0
[BilledDuration] => 0
[BilledAmount] => 0
[Attempts] => 0
[Actions] => 0
)

)

Shouldn't I see the "Opted Out" status when I execute getBroadcastStats?

 

Answer:

No. "Opted Out" stats are not shown because getBroadcastStats only shows the stats for dispositions that were identified in the campaigns. 

For example, run a test campaign and choose to be put on the DNC list. Then run getBroadcastStats:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<r:Resource xmlns="http://api.callfire.com/data" xmlns:r="http://api.callfire.com/resource">
<BroadcastStats>
<UsageStats>
<Duration>0</Duration>
<BilledDuration>60</BilledDuration>
<BilledAmount>1.1667</BilledAmount>
<Attempts>1</Attempts>
<Actions>1</Actions>
</UsageStats>
<ResultStat>
<Result>DNC</Result>
<Attempts>1</Attempts>
<Actions>1</Actions>
</ResultStat>
</BroadcastStats>
</r:Resource>

Now, your result is DNC (Do Not Call), which is the equivalent of someone who "opted out."

Have more questions? Submit a request

Comments