Hi,
I am using Import API-create to send records to the dialer for a given campaignId.
When I process calloutcomes, I use ImportAPI-list to fetch the call results.
However, the fields that I am looking for are not present in the response - DateTime, Phone, PeripheralCallKey, PeripheralID, AgentPeripheralNumber, DialingListID, RouterCallKey, RouterCallKeyDay
When I go over te API docs, I do find PersonalCallBack API - list returns some of the above fields in each record. But since I do not invoke PersonalCallBack API - create, I think if I invoke list, I may not get any results.
Previously, we hit the dialer_detail table directly to fetch the call results, query as shown below :
select AccountNumber, CampaignID, AgentPeripheralNumber, CallResult, Phone, PeripheralID, PeripheralCallKey, CallStatusZone1, CallStatusZone2, DbDateTime, DateTime, QueryRuleID, DialingMode, DialingListID, RouterCallKeyDay, RouterCallKey
from DIALER_DETAIL_TABLE
where DbDateTime > dateStr and
CallStatusZone1 = 'C' or CallStatusZone1 = 'M' or CallStatusZone1 = 'U' or CallStatusZone1 = 'X' or CallStatusZone1 = 'S' or CallStatusZone1 = 'R' or CallStatusZone1 = 'J' or CallStatusZone1 = 'B' or CallStatusZone2 = 'C' or CallStatusZone2 = 'M' or CallStatusZone2 = 'U' or CallStatusZone2 = 'X' or CallStatusZone2 = 'S' or CallStatusZone2 = 'R' or CallStatusZone2 = 'J' or CallStatusZone2 = 'B'
order by DbDateTime;
How do I fetch the above fields now from ImportAPI?