Skip to main content


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.





Hi Pallavi,






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






Cheers!






Any example for create tickets with custom fields + attachments?



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




Did anyone get a solution for this?




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!