GET
/servers/{id}
curl \
--request GET 'https://my.interserver.net/apiv2/servers/{id}' \
--header "X-API-KEY: $API_KEY"
Response examples (200)
{
"ipmiAuth": true,
"client_links": [
{
"label": "string",
"link": "string",
"icon": "string",
"icon_text": "string",
"help_text": "string"
}
],
"billingDetails": {
"service_last_invoice_date": "string",
"service_payment_status": "string",
"service_frequency": "string",
"next_date": "string",
"service_next_invoice_date": "string",
"service_currency": "string",
"service_currency_symbol": "string",
"service_cost_info": "string",
"service_extra": [
"string"
],
"service_extra_json": "string"
},
"custCurrency": "string",
"custCurrencySymbol": "string",
"package": "string",
"serviceExtra": [
"string"
],
"locations": {
"1": {
"location_id": 42,
"location_name": "string",
"location_description": "string",
"location_lat": "string",
"location_long": "string",
"location_ipmi_group": 42
}
},
"networkInfo": {
"vlans": [
"string"
],
"vlans6": [
"string"
],
"assets": {
"3497": {
"id": 3497,
"order_id": "16058",
"hostname": "myserver.host.com",
"status": "active",
"primary_ipv4": "1.2.3.250",
"primary_ipv6": "string",
"datacenter": "2",
"type_id": "1",
"asset_tag": "string",
"rack": "68",
"row": "017",
"col": "06",
"unit_start": "37",
"unit_end": "37",
"unit_sub": "0",
"ipmi_mac": "0c:c4:7a:af:35:00",
"ipmi_ip": "10.8.69.7",
"ipmi_working": "0",
"company": "int",
"comments": "string",
"make": "Supermicro",
"model": "SYS-6018R-TDW",
"description": "string",
"customer_id": "int5377",
"external_id": "string",
"billing_status": "active",
"overdue": "0",
"asset_id": "1",
"asset_name": "server",
"rack_id": "68",
"rack_name": "112.16",
"rack_location": "2",
"rack_size": "44",
"rack_x": "25",
"rack_y": "5",
"switchports": [
10414
],
"vlans": [
"string"
],
"vlans6": [
"string"
],
"lease": {
"mac": "0c:c4:7a:af:35:00",
"authenticated": false,
"group": "1"
}
}
},
"switchports": {
"10414": {
"switchport_id": 10414,
"switch_id": "118",
"switch": "edge1",
"port": "Ethernet1/33",
"blade": "Ethernet1",
"justport": "33",
"graph_id": "12622",
"vlans": [
"string"
],
"vlans6": [
"string"
],
"asset_id": 3497
}
}
},
"extraInfoTables": {
"assets": {
"assets": {
"rows": [
[
"3497",
"myserver.host.com",
"CPU:..............2x Intel Xeon E5-2620v4 @2.10GHz\r\nMemory:...........128GB DDR3 1600MHz\r\nHard Drive 1:.....Crucial 500 GB SSD\r\nHard Drive 2:.....Crucial 500 GB SSD\r\nRAID:.............none\r\nOS:...............Ubuntu 20\r\nControl Panel:....none\r\nNetwork...........10G Card\r\nIP(s):............Vlan 3497\r\nBandwidth:........10Tb @ 10gb port",
"TEB2",
"112.16",
"active",
"1.2.3.250",
""
]
],
"size": 2,
"type": "table",
"title": "Assets",
"header": [
"Id",
"Hostname",
"Description",
"Location Name",
"Rack Name",
"Status",
"Primary Ipv4",
"Comments"
]
}
}
},
"serviceInfo": {
"server_id": "16058",
"server_hostname": "myserver.host.com",
"server_custid": "771282",
"server_type": "600",
"server_currency": "USD",
"server_order_date": "2020-05-08T17:22:36.000Z",
"server_invoice": "18738142",
"server_coupon": "0",
"server_status": "active",
"server_root": "string",
"server_dedicated_tag": "0",
"server_custom_tag": "string",
"server_comment": "string",
"server_initial_bill": "0",
"server_hardware": "0",
"server_ips": "0",
"server_monthly_bill": "0",
"server_setup": "0",
"server_rep": "0",
"server_date": "1588972956",
"server_total_cost": "230",
"server_hardware_ordered": "0",
"server_billed": "0",
"server_welcome_email": "1",
"server_dedicated_cpu": "38",
"server_dedicated_memory": "22",
"server_dedicated_hd1": "20",
"server_dedicated_bandwidth": "3",
"server_dedicated_ips": "5",
"server_dedicated_os": "30",
"server_dedicated_raid": "0",
"server_extra": "[]"
}
}
Response examples (401)
{
"code": "string",
"message": "string"
}