@nick
Hier mal meine Abfrage:
{
"version": "2.0",
"method": "cmdb.category.read",
"params": {
"objID": 716878,
"apikey": "*****",
"language": "de",
"category":"C__CATG__NETWORK_PORT",
},
"id": 1
}
Und das Ergebnis:
{
id: 1,
jsonrpc: '2.0',
result: [
{
id: '35726',
objID: '716878',
title: '',
interface: [],
port_type: null,
port_mode: [Object],
plug_type: null,
negotiation: null,
duplex: null,
speed: null,
speed_type: null,
standard: null,
mac: '*****',
mtu: null,
assigned_connector: null,
connector: '35726',
connector_sibling: null,
cable: [],
active: [Object],
addresses: [],
layer2_assignment: [],
hba: null,
default_vlan: null,
description: "'Mac-Adresse'",
relation_direction: null
},
{
id: '35727',
objID: '716878',
title: '',
interface: [],
port_type: null,
port_mode: [Object],
plug_type: null,
negotiation: null,
duplex: null,
speed: null,
speed_type: null,
standard: null,
mac: '*****',
mtu: null,
assigned_connector: null,
connector: '35727',
connector_sibling: null,
cable: [],
active: [Object],
addresses: [],
layer2_assignment: [],
hba: null,
default_vlan: null,
description: "'Mac-Adresse WAN'",
relation_direction: null
}
]
}