Recent searches
No recent searches

Peter Jeynes
Joined Oct 16, 2021
·
Last activity Oct 16, 2021
Following
0
Followers
0
Total activity
2
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Peter Jeynes
Peter Jeynes created a post,
Hi, I am trying to add comments to a ticket using the ticket API using C#
https://[domain].zendesk.com/api/v2/tickets/8
Does anyone have any advice, or able to point me in the right direction?
Thanks
Pete
Class below...
public class From
{
}
public class To
{
}
public class Source
{
public From from { get; set; }
public To to { get; set; }
public object rel { get; set; }
}
public class Via
{
public string channel { get; set; }
public Source source { get; set; }
}
public class Result
{
public string url { get; set; }
public int id { get; set; }
public object external_id { get; set; }
public Via via { get; set; }
public DateTime created_at { get; set; }
public DateTime updated_at { get; set; }
public string type { get; set; }
public string subject { get; set; }
public string raw_subject { get; set; }
public string description { get; set; }
public string priority { get; set; }
public string status { get; set; }
public object recipient { get; set; }
public object requester_id { get; set; }
public object submitter_id { get; set; }
public object assignee_id { get; set; }
public object organization_id { get; set; }
public object group_id { get; set; }
public List collaborator_ids { get; set; }
public List follower_ids { get; set; }
public List email_cc_ids { get; set; }
public object forum_topic_id { get; set; }
public object problem_id { get; set; }
public bool has_incidents { get; set; }
public bool is_public { get; set; }
public object due_at { get; set; }
public List tags { get; set; }
public List custom_fields { get; set; }
public object satisfaction_rating { get; set; }
public List sharing_agreement_ids { get; set; }
public List fields { get; set; }
public List followup_ids { get; set; }
public object ticket_form_id { get; set; }
public object brand_id { get; set; }
public bool allow_channelback { get; set; }
public bool allow_attachments { get; set; }
public string result_type { get; set; }
}
public class Root
{
public List results { get; set; }
public object facets { get; set; }
public object next_page { get; set; }
public object previous_page { get; set; }
public int count { get; set; }
}
Posted Sep 01, 2021 · Peter Jeynes
0
Followers
2
Votes
1
Comment