rt_ticket_attachment {rt} | R Documentation |
Get a ticket's attachment
Description
Retrieves attachment metadata. To get the attachment itself, see rt_ticket_attachment_content.
Usage
rt_ticket_attachment(ticket_id, attachment_id, ...)
Arguments
ticket_id |
(numeric) The ticket identifier |
attachment_id |
(numeric) The attachment identifier |
... |
Other arguments passed to |
Value
(rt_api) An rt_api
object with the response
Examples
## Not run:
# Before running rt_ticket_attachment, you'll probably want to get a list of
# the attachments for a given ticket, like:
attachments <- rt_ticket_attachments(1) # Ticket ID 1
# And then you can get information about a specific attachment:
rt_ticket_attachment(1, 3) # Attachment 3 on ticket 1
## End(Not run)
[Package rt version 1.1.0 Index]