@@ -128,6 +128,7 @@ Table of contents
128
128
* [ 2 Create a ticket] ( #102-create-a-ticket )
129
129
* [ 3 Delete a ticket] ( #103-delete-a-ticket )
130
130
* [ 4 Get all filter IDs] ( #104-get-all-filter-ids- )
131
+ * [ 5 Get all messages within a ticket] ( #105-get-all-messages-within-a-ticket )
131
132
132
133
133
134
** [ Video references] ( #11-youtube-links-for-rest-apis ) **
@@ -4678,6 +4679,62 @@ curl https://{domain}.agilecrm.com/dev/api/tickets/filters -H "Accept : applicat
4678
4679
]
4679
4680
4680
4681
` ` `
4682
+ # # 10.5 Get all messages within a ticket :
4683
+ # ## dev/api/tickets/notes/{ticket-id}
4684
+ Method: GET
4685
+
4686
+ - Returns list of JSON tickets.
4687
+
4688
+ # ## Using curl :
4689
+ ` ` ` sh
4690
+ https://{domain}.agilecrm.com/dev/api/tickets/notes/{ticketid} -H " Accept : application/json" -v -u {email} : {API Key}
4691
+ ` ` `
4692
+ # ## Example response :
4693
+ ` ` ` sh
4694
+ [
4695
+ {
4696
+ " id" : 5661725076488192,
4697
+ " ticket_id" : 2,
4698
+ " group_id" : 5646239437684736,
4699
+ " feedback_time" : 1496990444098,
4700
+ " feedback_comment" : " " ,
4701
+ " assignee_id" : 6683813135253504,
4702
+ " feedback_flag" : false,
4703
+ " created_by" : " REQUESTER" ,
4704
+ " requester_name" : " Prabathk kolipaka" ,
4705
+ " requester_email" : " prabath.kolipaka@gmail.com" ,
4706
+ " created_time" : 1496990444098,
4707
+ " event_description" : " " ,
4708
+ " plain_text" : " Get all the messages belongs to a ticket" ,
4709
+ " html_text" : " Get all the messages belongs to a ticket" ,
4710
+ " mime_object" : " " ,
4711
+ " note_type" : " PUBLIC" ,
4712
+ " attachments_list" : [
4713
+ ],
4714
+ " requester_viewed_time" : 0,
4715
+ " domain_user" : {
4716
+ " id" : 6683813135253504,
4717
+ " domain" : " ranjandev" ,
4718
+ " email" : " rswain.agilecrm@gmail.com" ,
4719
+ " phone" : " " ,
4720
+ " name" : " Rasmi Ranjan Swain" ,
4721
+ " pic" : " https://d1gwclp1pmzk26.cloudfront.net/img/gravatar/48.png" ,
4722
+ " schedule_id" : " Rasmi_Ranjan_Swain" ,
4723
+ " calendar_url" : " https://ranjandev.agilecrm.com/calendar/Rasmi_Ranjan_Swain" ,
4724
+ " calendarURL" : " https://ranjandev.agilecrm.com/calendar/Rasmi_Ranjan_Swain"
4725
+ },
4726
+ " cc_emails" : [
4727
+ ],
4728
+ " close_ticket" : false,
4729
+ " requester_viewed_email" : false,
4730
+ " is_compressed" : false
4731
+ }
4732
+ ]
4733
+ ` ` `
4734
+ # ## Response:
4735
+ - Status 200: Successfully retrieved all the messages within a ticket.
4736
+ - Status 401: Unauthorised. (When the user name and password fields are wrong.)
4737
+
4681
4738
4682
4739
# # 11 Youtube links for Rest APIs.
4683
4740
0 commit comments