jmontano | 2022-10-20 19:12:34 UTC | #1
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!
anon14299330 | 2022-10-24 10:21:42 UTC | #2
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
system | 2022-11-24 10:22:21 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 16811