API Docs

Get to know get_dedicated_servers

Overview: get_dedicated_servers returns a list of all active dedicated servers associated with a client account.

get_dedicated_servers expects the following parameters:

  • [location] – Optional. The abbreviation for a facility to limit the results to.

Example:

$api->call('client.get_dedicated_servers');

Output:

Array
	(
		[status] => 1
		[data] => Array
			(
				[5930] => Array
					(
					[dev] => 8347
					[parent] => 0
					[active] => 1
					[type] => Intel Xeon
					[devtype_group_id] => 3
					[devtype_group] => Dedicated Server
					[owner] => 37048
					[owner_type] => PACKAGE
					[dev_desc] => srv4291
					[label] => srv4291
					[power_status] => 1
					[height] => 1
					[clientid] => 5974
					[company] => Nobis Technology Group LLC
					[first] => Firstname
					[last] => Lastname
					[email] => Firstname.Lastname@nobistech.net
					[phone] => 866-438-8247
					[packid] => 37048
					[desserv] => Bogus
					[fac_name] => Los Angeles 1
					[fac_code] => lax1
					[total] => 0
					[up] => 0
					[down] => 0
					[warn] => 0
					[disabled] => 0
					)
			)
	)