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

Please provide ZendeskApi_v2 Create Ticket with Tags also sample Code in VB.net or C# #116

Closed
shashikant2011 opened this issue Jan 6, 2015 · 2 comments

Comments

@shashikant2011
Copy link

Hi,

Please give me a sample code to create ticket including tags also using zendeskapi_v2 in VB.net or C#

Thanks,
SHASHIKANT

@shashikant2011 shashikant2011 changed the title Please provide ZendeskApi_v2 Create Ticket sample Code in VB.net or C# Please provide ZendeskApi_v2 Create Ticket with Tags also sample Code in VB.net or C# Jan 6, 2015
@eneifert
Copy link
Contributor

eneifert commented Jan 6, 2015

Yep no problem you can check out the readme or the tests for plenty of examples.

Happy new year,
Eric

@eneifert eneifert closed this as completed Jan 6, 2015
@eneifert
Copy link
Contributor

eneifert commented Jan 6, 2015

Ah seems the tests don't use the Tags property, so my apologies. But tags are just a list of strings so you could create them like this:

var ticket = new Ticket()
{
Subject = "my printer is on fire",
Comment = new Comment() { Body = "HELP" },
Priority = TicketPriorities.Urgent,
Tags = new List() { "yo", "help"}
};

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