GET /com/vmware/vapi/metadata/metamodel/service/id:{service_id} |
POST /com/vmware/vapi/metadata/metamodel/service/id:{service_id}?~action=get |
POST /com/vmware/vapi/metadata/metamodel/service?~action=get |
service_id
. The com.vmware.vapi.metadata.metamodel.service_info contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
{
"service_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Get-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <service_id>obj-103</service_id> </ns0:Get-Input>
POST /com/vmware/vapi/metadata/metamodel/service?~action=get
&service_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
service_id* |
ID | Yes | Identifier of the service element. Id of type com.vmware.vapi.service. |
{
"value": { "constants": [ { "key": "string", "value": { "documentation": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "value": { "category": "PRIMITIVE", "list_value": [ { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" }, { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } ], "primitive_value": { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } } } } ], "documentation": "string", "enumerations": [ { "key": "obj-103", "value": { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "values": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" } ] } } ], "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "operations": [ { "key": "obj-103", "value": { "documentation": "string", "errors": [ { "documentation": "string", "structure_id": "obj-103" }, { "documentation": "string", "structure_id": "obj-103" } ], "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "output": { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } }, "params": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } } ] } } ], "structures": [ { "key": "obj-103", "value": { "constants": [ { "key": "string", "value": { "documentation": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "value": { "category": "PRIMITIVE", "list_value": [ { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" }, { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } ], "primitive_value": { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } } } } ], "documentation": "string", "enumerations": [ { "key": "obj-103", "value": { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "values": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" } ] } } ], "fields": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } } ], "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": "STRUCTURE" } } ] } }
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value> <name>string</name> <documentation>string</documentation> <constants-array> <array-item> <value> <documentation>string</documentation> <value> <category>PRIMITIVE</category> <primitive_value> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </primitive_value> <list_value-array> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> </list_value-array> </value> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> </value> <key>string</key> </array-item> </constants-array> <operations-array> <array-item> <value> <errors-array> <array-item> <documentation>string</documentation> <structure_id>obj-103</structure_id> </array-item> <array-item> <documentation>string</documentation> <structure_id>obj-103</structure_id> </array-item> </errors-array> <name>string</name> <documentation>string</documentation> <params-array> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </params-array> <output> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </output> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </value> <key>obj-103</key> </array-item> </operations-array> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> <enumerations-array> <array-item> <value> <values-array> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </values-array> <name>string</name> <documentation>string</documentation> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </value> <key>obj-103</key> </array-item> </enumerations-array> <structures-array> <array-item> <value> <name>string</name> <documentation>string</documentation> <constants-array> <array-item> <value> <documentation>string</documentation> <value> <category>PRIMITIVE</category> <primitive_value> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </primitive_value> <list_value-array> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> </list_value-array> </value> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> </value> <key>string</key> </array-item> </constants-array> <type>STRUCTURE</type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> <fields-array> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </fields-array> <enumerations-array> <array-item> <value> <values-array> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </values-array> <name>string</name> <documentation>string</documentation> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </value> <key>obj-103</key> </array-item> </enumerations-array> </value> <key>obj-103</key> </array-item> </structures-array> </value> </ns0:Get-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | service_info | Yes | The com.vmware.vapi.metadata.metamodel.service_info instance that corresponds to service_id |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the service element associated with service_id is not registered with the infrastructure. |
404 |
Copyright © 2014. All Rights Reserved.