エンティティ コレクション

この API は、エンティティのコレクションを表示します。
nfa1000
この API は、エンティティのコレクションを表示します。
リソース
URI
http://<nfa odata host>:<nfa odata port>/odata/api/<EntitySet Name>
メソッド
GET
パラメータ
以下の表には、必須パラメータが含まれています。
パラメータ
Description
EntitySet 名
エンティティ セットのタイプを示します。
有効な EntitySet 名のリストの詳細については、「メタデータ」を参照してください。
サンプル リクエスト
以下のリクエストは、ルータ エンティティ タイプのエンティティ コレクション API を示しています。
http://127.0.0.1:8981/odata/api/routers
サンプル レスポンス
以下のレスポンスは、ルータ エンティティ セットのすべてのレコードを表示します。
{ "@odata.context": "$metadata#Collection(com.ca.nfa.odata.router)", "value": [ { "routerUpdatedOn": 1599147491, "deviceAlias": "10.0.9.11", "dnsExpireTime": 1599752503, "snmpMaxRows": 10, "templateId": 1, "dnsProxyAddress": "10.74.241.203", "deviceName": "10.0.9.11", "domainID": 1, "lifecyclestate": "ACTIVE", "lastHarvesterUpdate": 0, "sysDescr": "10.0.9.11", "sysUptime": 0, "snmpProxyAddress": "10.74.241.203", "snmpRetry": 3, "ifNumber": 0, "harvesterID": 2, "lastReboot": 1599562571, "routerName": null, "firstPollError": 1599562606, "sysName": "", "interfaceCount": 2, "snmpTimeout": 3, "ID": 1500001, "lastData": 0, "lastRefresh": 0, "snmpVersion": 2, "routerAddress": "10.0.9.11", "lastDiscovery": 0, "dnsLastLookupTime": 1599147703, "nextPollRetry": 0, "syncUpdateTime": 0, "profileId": 0, "tenantId": 8, "snmpPort": 161, "agentCount": 2, "flowStatus": "Red", "enabledInterfacesCount": 2, "profileName": null, "harvesterAddress": "10.74.241.203" }, { "routerUpdatedOn": 1599147492, "deviceAlias": "10.0.9.14", "dnsExpireTime": 1599752503, "snmpMaxRows": 10, "templateId": 1, "dnsProxyAddress": "10.74.241.203", "deviceName": "10.0.9.14", "domainID": 1, "lifecyclestate": "ACTIVE", "lastHarvesterUpdate": 0, "sysDescr": "10.0.9.14", "sysUptime": 0, "snmpProxyAddress": "10.74.241.203", "snmpRetry": 3, "ifNumber": 0, "harvesterID": 2, "lastReboot": 1599562571, "routerName": null, "firstPollError": 1599562606, "sysName": "", "interfaceCount": 2, "snmpTimeout": 3, "ID": 1500002, "lastData": 0, "lastRefresh": 0, "snmpVersion": 2, "routerAddress": "10.0.9.14", "lastDiscovery": 0, "dnsLastLookupTime": 1599147703, "nextPollRetry": 0, "syncUpdateTime": 0, "profileId": 0, "tenantId": 8, "snmpPort": 161, "agentCount": 2, "flowStatus": "Red", "enabledInterfacesCount": 2, "profileName": null, "harvesterAddress": "10.74.241.203" } ] }