Customization Spec Manager Customization Spec Item To Xml

Customization Spec Manager Customization Spec Item To Xml

Converts a specification item to XML text

Required privileges: System.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/CustomizationSpecManager/{moId}/CustomizationSpecItemToXml
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 CustomizationSpecManager/{moId}.

string
release
Required

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


Request Body
CustomizationSpecItemToXmlRequestType of type(s) application/json
Required
"CustomizationSpecItemToXmlRequestType Object"
object
item
Required

Specification information and the Specification object.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns string of type(s) application/json
Operation doesn't return any data structure

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