Skip to content

eneifert/MyBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

Creating a ticket:

ZenDeskApi api = new ZenDeskApi(https://{yoursite}.zendesk.com/api/v2, "apiadmin@youremail.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

Sample app I use as a reference for Asp.net MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published