API Docs

Get to know details

Overview: details returns information about a dedicated server.

details requires the following parameters:

  • device_id – The identifier of a device.

Example:

$params = array(
	    'device_id' => 1
	);
$api->call('device.details', $params);

Output:

Array
	(
	    [status] => 1
	    [data] => Array
	        (
	            [dev] => 8347
	            [parent] => 0
	            [active] => 1
	            [owner] => 37048
	            [owner_type] => PACKAGE
	            [dev_desc] => srv4291
	            [label] => srv4291
	            [power_status] => 1
	            [height] => 1
	            [type] => Intel Xeon
	            [devtype_group_id] => 3
	            [devtype_group_name] => Dedicated Server
	            [clientid] => 5974
	            [listed_company] => Nobis Technology Group LLC
	            [first] => Firstname
	            [last] => Lastname
	            [email] => Firstname.Lastname@nobistech.net
	            [phone] => 866-438-8247
	            [packid] => 37048
	            [desserv] => Bogus
	            [parent_desc] =>
	            [total] => 0
	            [up] => 0
	            [down] => 0
	            [warn] => 0
	            [disabled] => 0
	            [last_change] => 0
	            [last_poll] => 0
	            [assignments] => Array
	                (
	                    [40892] => Array
	                        (
	                            [assign_id] => 40892
	                            [group_id] => 0
	                            [device_id] => 8347
	                            [client_id] => 5974
	                            [service_id] => 37048
	                            [portable] => 0
	                            [addr] => 0000000000000000000000006c3eb940/125
	                            [addr_type] => 1
	                            [created_ts] => 1352479204
	                            [updated_ts] => 1364856599
	                            [last_ip] => 0000000000000000000000006c3eb947
	                            [num_ips] => 8
	                            [assign_description] => Base Assignment
	                            [group_description] =>
	                            [vlan_range_id] =>
	                            [vlan_num] =>
	                            [group_client_id] =>
	                            [vlan_type_id] =>
	                            [listed_company] => Nobis Technology Group LLC
	                            [desserv] => Bogus
	                            [servtype] => 2xe52620
	                            [dev_desc] => srv4291
	                            [addr_readable] => 108.62.185.64/29
	                            [addr_type_readable] => Global
	                        )
	                    [40891] => Array
	                        (
	                            [assign_id] => 40891
	                            [group_id] => 0
	                            [device_id] => 8347
	                            [client_id] => 5974
	                            [service_id] => 37048
	                            [portable] => 0
	                            [addr] => 00000000000000000000000093ff5b5f/128
	                            [addr_type] => 1
	                            [created_ts] => 1352479203
	                            [updated_ts] => 1364856599
	                            [last_ip] => 00000000000000000000000093ff5b5f
	                            [num_ips] => 1
	                            [assign_description] => IPMI
	                            [group_description] =>
	                            [vlan_range_id] =>
	                            [vlan_num] =>
	                            [group_client_id] =>
	                            [vlan_type_id] =>
	                            [listed_company] => Nobis Technology Group LLC
	                            [desserv] => Bogus
	                            [servtype] => 2xe52620
	                            [dev_desc] => srv4291
	                            [addr_readable] => 147.255.91.95
	                            [addr_type_readable] => Global
	                        )
	                )
	            [facility] => Array
	                (
	                    [fac_id] => 4
	                    [fac_name] => Los Angeles 1
	                    [fac_code] => lax1
	                    [fac_description] =>
	                    [fac_address] => 530 West 6th Street Penthouse Suite
	                    [fac_city] => Los Angeles
	                    [fac_state] => CA
	                    [fac_zip] => 90014
	                    [fac_country] => US
	                )
	        )
	)