aabdelrahman | 2016-11-22 14:07:07 UTC | #1
Hello Dev,
I am trying to get the result of a single Dialer contact. i am trying /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId} but it just give me contact list columns (Name, Number ....etc). I need to get "CallRecordLastResult-Number" from contact list. i already can get it by exporting contact list as excel file, but how to get "CallRecordLastResult-Number" without export file.
Thanks, Ahmed
tim.smith | 2016-11-22 14:18:25 UTC | #2
You can determine the last contact attempt from the API data by inspecting the callRecords property. Compare the lastAttempt property for each entity and the one with the most recent date is the last contact.
aabdelrahman | 2016-11-24 08:28:06 UTC | #3
Many Thanks Tim for your reply. So do you mean i can't get it from Outbound Dialing API direct. Because i can see that the value CallRecordLastResult-Number already presented in the exported contact list excel file.
Thanks, Ahmed
tim.smith | 2016-11-30 15:59:23 UTC | #4
That's correct. That field is a result of the export process, not the data model. When using the API, you must derive that field yourself.
system | 2017-08-28 19:28:58 UTC | #5
This post was migrated from the old Developer Forum.
ref: 653