Skip to main content

C# code to create ticket with attachment and custom fields

  • August 16, 2017
  • 4 replies
  • 548 views

Can anyone provide me code C# code to create ticket with attachment and custom fields. I an able to create ticket with attachment but when try to send custom fields,API  responds bad request.

So please help me asap to pass value in custom fields with attachment.

This topic has been closed for replies.

4 replies

aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12

Hi Pallavi,


Please check this link and see if that helps in creating the C#code to create tickets with custom fields + attachments.


Cheers!


  • Community Debut
  • August 25, 2017

Any example for create tickets with custom fields + attachments?

I mean REAL create tickets with custom fields + attachments with multipart/form-data


  • Community Debut
  • September 9, 2017

Did anyone get a solution for this?


bharath.chakravarthy
Skilled Expert
Forum|alt.badge.img+3

Hi Pallavi / Andrew,


I've attached a sample C# call that will help you 'Create a ticket with Attachments and Custom fields'.


I hope it helps :) 


Cheers!