Skip to content

devarispbrown/ZendeskApi_v2

 
 

Repository files navigation

Zendesk Api V2

This is a full c# wrapper for ZenDesk's api v2. http://developer.zendesk.com/documentation/rest_api/introduction.html

Here are some examples of things you might want to do, but for even more examples check out the "Tests" folder above. Everything is tested so there are plenty of examples!

Creating a ticket:

ZenDeskApi api = new ZenDeskApi(https://{yoursite}.zendesk.com/api/v2, "your@email.com", "password"); 
var res = api.Tickets.CreateTicket(new Ticket()
                         {
                             Subject = "my printer is on fire",
                             Description = "HELP",
                             Priority = TicketPriorities.Urgent
                         });

Getting all the tickets in a view

var myViewId = 1; //ex Id for the All unsolved tickets view
var res = api.Views.ExecuteView(myViewId);

More to come!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published