GET api/Attachment/GetTicketAttachments?ticketId={ticketId}
Retrieves the list of attachments (for ticket body or reply)
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| ticketId | Id of the ticket |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"correspondence_id": 1,
"date_created": "2025-12-03T02:39:55.7746923-05:00",
"file_name": "sample string 3",
"file_name_on_disk": "sample string 4",
"file_size": 5,
"ticket_id": 6,
"id": 1
},
{
"correspondence_id": 1,
"date_created": "2025-12-03T02:39:55.7746923-05:00",
"file_name": "sample string 3",
"file_name_on_disk": "sample string 4",
"file_size": 5,
"ticket_id": 6,
"id": 1
},
{
"correspondence_id": 1,
"date_created": "2025-12-03T02:39:55.7746923-05:00",
"file_name": "sample string 3",
"file_name_on_disk": "sample string 4",
"file_size": 5,
"ticket_id": 6,
"id": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfattachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Ticketing">
<attachment>
<id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
<correspondence_id>1</correspondence_id>
<date_created>2025-12-03T02:39:55.7746923-05:00</date_created>
<file_name>sample string 3</file_name>
<file_name_on_disk>sample string 4</file_name_on_disk>
<file_size>5</file_size>
<ticket_id>6</ticket_id>
</attachment>
<attachment>
<id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
<correspondence_id>1</correspondence_id>
<date_created>2025-12-03T02:39:55.7746923-05:00</date_created>
<file_name>sample string 3</file_name>
<file_name_on_disk>sample string 4</file_name_on_disk>
<file_size>5</file_size>
<ticket_id>6</ticket_id>
</attachment>
<attachment>
<id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
<correspondence_id>1</correspondence_id>
<date_created>2025-12-03T02:39:55.7746923-05:00</date_created>
<file_name>sample string 3</file_name>
<file_name_on_disk>sample string 4</file_name_on_disk>
<file_size>5</file_size>
<ticket_id>6</ticket_id>
</attachment>
</ArrayOfattachment>
