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_company and update_company
The variables and values are the same for both add_company and update_company. However, when using update_company, only the variables and values you supply will be updated.
Input Variable Input Value Description
name String value, limited to 255 characters. Required The name of the company.
address String value, limited to 255 characters. Required The company address.
city String value, limited to 255 characters. The city of the company.
state String value, limited to 255 characters. The state of the company.
zip String value, limited to 255 characters. The ZIP/postal code of the company.
country String value, limited to 255 characters. The country of the company.
phone String value, limited to 255 characters. The phone number of the company.
email String value, limited to 255 characters. The email address of the company.
portal Integer value. The ID of the customer portal the company will be associated with.

Output Variable URL Encoded Description
added_company No Company ID that was added.
Example Usage
http://localhost/API/default.aspx?key=your key here&action=add_company&name=Demo Company&address=123 Demo Street&city=Atlanta&state=GA&zip=30318
Example Response
XML:
<?xml version="1.0"?>
<response>
    <added_company>5</added_company>
</response>
JSON:
{
	"response": [
		{
			"added_company" : "5"
		}
	]
}
URL DELIMITED:
added_company=5