[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Get Details Of Entities

Description

Bulk fetch of entity details using a list of entity IDs. Max batch size is 1000.

Request

Request

URL

URL


post
https://vrni.example.com/api/ni/entities/fetch
Copy

Request Body

Request Body

FetchRequest of type(s) application/json Optional
{
	"entity_ids": [
		{
			"entity_id": "string",
			"entity_type": "VirtualMachine",
			"time": 0
		}
	]
}
entity_ids Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns BulkFetchResponse of type(s) application/json
{
	"results": [
		{
			"entity": {
				"entity_id": "1000:104:12213212",
				"entity_type": "VirtualMachine",
				"name": "My Name"
			},
			"entity_id": "18230:3:187309184",
			"entity_type": "VirtualMachine",
			"time": 0
		}
	]
}
array of EntityWithTime
results Optional
Errors

Errors

400

Bad Request


401

Unauthorized


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"entity_ids":[{"entity_id":"string","entity_type":"VirtualMachine","time":0}]}' https://vrni.example.com/api/ni/entities/fetch


Feedback

Was this page helpful?