How to use the PureCloudPlatformClientV2.WritableDialerContact()

Hello,

I need to modify the parameter data in the WritableDialerContact() object, to send the request as follows:
[{
"id": "",
"contactListId": "",
"data": {
"Cliente":"cliente",
"Sensor":"Storage",
"Error":"storage",
"Celular":"12345678"
},
"callable": true,
"phoneNumberStatus": {},
"contactableStatus": {}
}]

Could you help me with an example how to use the WritableDialerContact()

Thank you, and I appreciate your help!

Hi,

You can use the setter methods on the PureCloudPlatformClientV2.WritableDialerContact() object. For example:

writable_dialer_contact = PureCloudPlatformClientV2.WritableDialerContact()
writable_dialer_contact.id = "id"
writable_dialer_contact.contact_list_id = "contact_list_id"
writable_dialer_contact.data = {"contacts_column": "corresponding_value"}
writable_dialer_contact.callable = True
pprint(writable_dialer_contact)

Thanks,

Mike

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.