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_asset and update_asset
The variables and values are the same for both add_asset and update_asset (with the exception of "id", which is only used by update_asset). However, when using update_asset, only the variables and values you supply will be updated.
Input Variable Input Value Description
field_names String value. Required A vertical pipe delimited list of asset field names.
field_values String value. Required A vertical pipe delimited list of asset field values, in the same order as the field names.
cid String value A comma delimited list of customer IDs to associate with the asset.

Output Variable URL Encoded Description
added_asset No Asset ID that was added.
Example Usage
http://localhost/API/default.aspx?key=your key here&action=add_asset&field_names=ASSET_FIELD1|ASSET_FIELD2|ASSET_FIELD3&field_values=value 1|value 2|value 3
Example Response
XML:
<?xml version="1.0"?>
<response>
    <added_asset>5</added_asset>
</response>
JSON:
{
	"response": [
		{
			"added_asset" : "5"
		}
	]
}
URL DELIMITED:
added_asset=5