Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing and Updating a ticket with custom fields #70

Open
Sil3ntGam3r opened this issue Nov 9, 2020 · 1 comment
Open

Viewing and Updating a ticket with custom fields #70

Sil3ntGam3r opened this issue Nov 9, 2020 · 1 comment

Comments

@Sil3ntGam3r
Copy link

Is there a way to view and update a ticket with custom fields.

I used the C# freshdesk samples to view a specific ticket in my custom app, but I can't use custom fields

Is there a way to do this? Please help me with example code

Thank you

@MZurmuehlen89
Copy link

MZurmuehlen89 commented Mar 31, 2021

For the case the question isn't solved yet via another way:
The support of Freshdesk gave me the following solution (from code-sample create with attachment):

// Description:
writeBoundaryBytes(rs, boundary, false);
writeContentDispositionFormDataHeader(rs, "custom_fields[cf_fieldname]");
writeString(rs, "value of custom_field");
writeCRLF(rs);

worked fine for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants