We are adding contacts to a purecloud contact list via the purecloud API. We have an external database that monitors if a number has been added to purecloud already or not. We have scenarios in which we want to post the same number to a list again. The idea is we call a number once, mark it uncallable to kick it out of purecloud dials but 30 days later we want to add the number back in the same list to ensure the person gets called again.
In our testing we are seeing the following:
Initial post the row gets created
inin-outbound-id
2170bc69dac82e2a3b23c9fe93c86489
Home Phone
5555555555
I make a few test calls and choose a wrapup code that marks the contact uncallable:
ContactCallable
0
I then make the API call to add the same number back to the list to simulate a 30 day callback.
It edits the same row, I can tell because when we make calls we have a custom column we tick up, "Total Calls" for that number it goes from 2 to 0, showing the row was edited when I posted the number, but contact callable stays = 0. So in this scenario, we wouldn't be able to call the person back.
Can someone explain why it is editing an existing row vs creating a new row? I made sure when I created the list I didn't specify a Unique Identifier Column. I am not sure if that is used at all for api posts to add contacts to the list.
Thanks in advance.