Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 944 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 944 Bytes

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!