Contact

Eğer insanları güncellemek veya Cxperium panelinde bilgi almak istiyorsanız, contact kullanabileceğiniz bir servistir.

Update a person

  • updateContactEmail(contactId: string, email: string) : Kişinin e-posta adresini günceller

  • updateContactLanguage(contactId: string, language: string) : Kişinin dilini günceller

  • updateContactByCustomFields(contact: TCxperiumContact,attributes: object) : Kişinin özel bir sütunu varsa onu güncelleme

  • updateGdprApprovalStatus(contact: TCxperiumContact, status: boolean) : Bir kişinin GDPR (GDPR) değerini güncelleme

  • updateSurveyTransferStatus(contact: TCxperiumContact,status: boolean ) : Anketteki kişinin durumunu güncelleme

  • updateLiveTransferStatus(contact: TCxperiumContact, status: boolean) : Canlı destekte kişinin durumunu güncelleme

await this.services.cxperium.contact.updateContactEmail(this.contact._id, "aa@gmail.com"); // updateContactEmail

await this.services.cxperium.contact.updateContactLanguage(this.contact._id, "TR"); // updateContactLanguage

await this.services.cxperium.contact.updateContactByCustomFields(this.contact,{departman : "İK"}); // updateContactByCustomFields

await this.services.cxperium.contact.updateGdprApprovalStatus(this.contact, true); // updateGdprApprovalStatus

await this.services.cxperium.contact.updateSurveyTransferStatus(this.contact,true ); // updateSurveyTransferStatus

await this.services.cxperium.contact.updateLiveTransferStatus(this.contact, true); // updateLiveTransferStatus

Getting contact information

  • getContactIdByPhone(phone: string) :Bir kişinin nesne kimliğiyle telefon bilgilerini al

  • getContactByContactId(contactId: string) :Bir kişiyle ilgili tüm bilgileri nesne kimliğiyle al

  • getContactByPhone(dialog: any) :Kişinin tüm bilgilerini telefon numarasıyla birlikte getir

Last updated