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  
 
get_attachments
Input Variable Input Value Description
tid Integer value A valid ticket ID number. You may also use * as a wildcard.
cid String value Required A valid customer ID to limit the returned values by. You may use * as a wildcard.
start_tid Integer value The starting ticket ID number to return attachments for.
end_tid Integer value The ending ticket ID number to return attachments for
count Integer value This would be the number of attacments to return.

Output Variable URL Encoded Description
ticket_id No Ticket ID the attachment is associated with.
file_name Yes The name of the attachment.
file_size No The size of the attachment.
file_date No The last modified date of the attachment.
Example Usage
http://localhost/API/default.aspx?key=your key here&action=get_attachments&tid=*
Example Response
XML:
<?xml version="1.0"?>
<attachments>
	<file>
		<ticket_id>5160</ticket_id>
		<file_name>favicon.ico</file_name>
		<file_size>32.21 kb</file_size>
		<file_date>3/19/2014 6:56:06 PM</file_date>
	</file>
</attachments>
JSON:
{
	"attachments": [
		{
			"ticket_id" : "5160",
			"file_name" : "test.txt",
			"file_size" : "32.21 kb",
			"file_date" : "3/19/2014 6:56:06 PM",
		}
	]
}
URL DELIMITED:
ticket_id=5160&file_name=favicon.ico&file_size=32.21 kb&file_date=3/19/2014 6:56:06 PM