pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Abhorsen99/ZendeskApiClient

crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b69241e157469407.css" /> GitHub - Abhorsen99/ZendeskApiClient: Api Client for working with Zendesk · GitHub
Skip to content

Abhorsen99/ZendeskApiClient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zendesk Api Client

====================

A .net Zendesk Api Client NuGet package for use with the ZendeskApi v2

##Creating a client:##

IZendeskClient client = new ZendeskClient(
    new Uri("https://my-zendesk-api-host-endpoint"),
    "my-zendesk-username", 
    "my-zendesk-token"
);

##Accessing resources:##

client.Tickets...
client.Organizations...
client.Users...
client.Groups...

##Http Methods:##

IResponse<Ticket> response = client.Tickets.Get((long)1234);
IListResponse<Ticket> response = client.Tickets.GetAll(new List<long> { 1234, 4321 });
IResponse<Ticket> response = client.Tickets.Put(new TicketRequest { Item = ticket });
IResponse<Ticket> response = client.Tickets.Post(new TicketRequest { Item = ticket });
client.Tickets.Delete((long)1234));

##Searching, paging and filtering:##

###Query Options:###

IZendeskQuery query = new ZendeskQuery<Organization>();
query.WithPaging(pageNumber:2, pageSize:10);
query.WithCustomFilter(field:"name", value:"Coffee Express");
query.WithOrdering(orderBy:OrderBy.created_at, order:Order.Relevance);
IResponse<T> response = client.Search.Find<T>(query);

###Use:###

IResponse<User> response = client.Search.Find<User>(
    new ZendeskQuery<User>()
    .WithCustomFilter("email", "jazzy.b@just-eat.com")
);
IResponse<User> response = client.Search.Find(
    new ZendeskQuery<Organization>()
    .WithCustomFilter("name", "Cupcake Cafe")
);

##The Zendesk API:##

The zendesk api documentation is available at http://developer.zendesk.com/documentation/rest_api/introduction.html Querying and searching is limited by the searchable fields on the zendesk api

About

Api Client for working with Zendesk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy