Untitled Page
API Overview
Example
Customers  
Companies  
Technicians  
Technician Groups  
Tickets  
Ticket History  
Ticket Attachments  
Billing Line Items  
Billing Invoices  
Time Tracking  
Knowledge Base Articles  
Scheduling  
Asset Managements  
 
add_attachment
Input Variable Input Value Description
tid Integer value Required The ticket ID to associate the attachment with.

Output Variable URL Encoded Description
name No The name of file that was attached.
Example Usage
http://localhost/API/default.aspx?key=your key here&action=add_attachment&tid=35
Example Response
XML:
<?xml version="1.0"?>
<response>
    <added_attachments>
        <attachments>
            <name>test.txt</name>
        </attachments>
    </added_attachments>
</response>
JSON:
{
	"response": [
		{
			"added_attachments" : 
                {
                    "added_attachments" : ["
                        {
                            "name" : "test.txt"
                        }
                    ]
                }
		}
	]
}
URL DELIMITED:
added_attachments=Y&name=test.txt