Event Manager Get Latest Event

Event Manager Get Latest Event

The latest event that happened on the VirtualCenter server.

Required privileges: System.View

Request
URI
GET
https://{api_host}/sdk/vim25/{release}/EventManager/{moId}/latestEvent
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case EventManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

This response body class contains all of the following: Event
{
    "0": "E",
    "1": "v",
    "2": "e",
    "3": "n",
    "4": "t",
    "5": " ",
    "6": "O",
    "7": "b",
    "8": "j",
    "9": "e",
    "10": "c",
    "11": "t"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/EventManager/{moId}/latestEvent