Get details Of entities

Get details Of entities

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

Request
URI
POST
https://vrni.example.com/api/ni/entities/fetch
COPY
Request Body
FetchRequest of type(s) application/json
Optional
{
    "entity_ids": [
        {
            "entity_id": "string",
            "entity_type": "VirtualMachine",
            "time": 0
        }
    ]
}
array of object
entity_ids
Optional

entity_ids

Authentication
This operation uses the following authentication methods.
Responses
200

OK

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

results


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure