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://{api_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
"CreateListViewRequestType Object"
array of object
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
"MoRefListView Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ViewManager/{moId}/CreateListView