View Manager Create List View

View Manager Create List View

Create a ListView object for this session.

The method returns a session object that has a list of managed object references. The list of references corresponds to the input object list. You can modify the resulting list after you have created the object.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/ViewManager/{moId}/CreateListView
COPY
Path Parameters
string
moId
Required

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

string
release
Required

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


Request Body
CreateListViewRequestType of type(s) application/json
Required
{
    "obj": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
obj
Optional

The initial list of objects in the view.

Required privileges: System.View

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefListView of type(s) application/json
This response body class contains all of the following: MoRefManagedObjectView
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}