I don't see data of these two tables(Dialer_Detail and Termination_Call_Detail) are directly exposed via any API. However, I see these two API to track status of contacts or campaign:
- https://<server>/unifiedconfig/config/campaign/<campaign-id>/import/<import id>
- https://<server>/unifiedconfig/config/campaign/<campaign-id>/runtimestats
The response of first API(https://<server>/unifiedconfig/config/campaign/<campaign-id>/import/<import id>) is like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<importContact>
<refURL>/unifiedconfig/config/campaign/5142/import/2</refURL>
<accountNumber>3456</accountNumber>
<callResultOverall>0</callResultOverall>
<callStatus>pending</callStatus>
<firstName>Bob</firstName>
<lastName>Smith</lastName>
<callsMade>0</callsMade>
<importDate>2018-04-23T23:16:42</importDate>
<phone01>
<callResult>0</callResult>
<dstObserved>false</dstObserved>
<gmtOffset>900</gmtOffset>
<number>2225559999</number>
</phone01>
<phone02>
<callResult>0</callResult>
<dstObserved>false</dstObserved>
<gmtOffset>900</gmtOffset>
<number>2225554445</number>
</phone02>
<phone03>
<callResult>0</callResult>
<dstObserved>false</dstObserved>
<gmtOffset>900</gmtOffset>
<number>2225554446</number>
</phone03>
</importContact>