Get a ticket's history
rt_ticket_history(ticket_id, format = "l", ...)
(numeric) The ticket identifier
(character) The format of the ticket history response. Either s (ticket ID and subject) or l (full ticket metadata). Defaults to l.
s
l
Other arguments passed to rt_GET
rt_GET
(rt_api) An rt_api object with the response
rt_api
# NOT RUN { # Get the full ticket history for ticket 992 rt_ticket_history(992) # Get just the ticket ID and subject for ticket 992 rt_ticket_history(992, format = "s") # }
Run the code above in your browser using DataLab