We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Passing Generic Fields to Third Party Chat API

Question
3
Views
0
Comments
edited Mar 30, 2018 7:12AM in Integrations and APIs

Content

Hi All,

I am trying to pass generic fields to Chat API but it is not getting sent through the API. It always comes as empty value though I have enabled the Chat in the CustomField. Below is the code in C#. Can please check through the code and let me know what I am missing?

Thanks,

Priya

Code Snippet

              GenericField cfChatOS = CreateGenericField("cf_3", ItemsChoiceType.StringValue, cusInfo.cf3);
                GenericField cfChatBrowser = CreateGenericField("cf_2", ItemsChoiceType.StringValue, cusInfo.cf2);
                GenericField cfChatIPAddress = CreateGenericField("cf_1", ItemsChoiceType.StringValue, cusInfo.cf1);
                GenericObject customFieldsc = new GenericObject();
                customFieldsc.GenericFields = new

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!