com.vmware.vapi.metadata.metamodel.service.operation

The operation service provides operations to retrieve metamodel information of an operation element in the interface definition language.

list

GET /com/vmware/vapi/metadata/metamodel/service/operation
POST /com/vmware/vapi/metadata/metamodel/service/operation/id:{service_id}?~action=list
POST /com/vmware/vapi/metadata/metamodel/service/operation?~action=list

Returns the identifiers for the operation elements that are defined in the scope of service_id.
Request:
Representations:
{
    "service_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:List-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/service/operation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <service_id>obj-103</service_id>
</ns0:List-Input>
GET /com/vmware/vapi/metadata/metamodel/service/operation
?service_id=obj-103

Parameters:
Name Type Required Description
service_id
 *
ID Yes Identifier of the service element. Id of type com.vmware.vapi.service.

Response:
Representations:
{
    "value"[
        "obj-103",
        "obj-103"
    ]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/service/operation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>obj-103</array-item>
    <array-item>obj-103</array-item>
  </value-array>
</ns0:List-Result>

Parameters:
Name Type Required Description
result List<ID> Yes The list of identifiers for the operation elements that are defined in the scope of service_id. Id of type com.vmware.vapi.operation.

Errors:
Type Description HTTP Status Code
not_found if the service element associated with service_id does not exist in any of the package elements. 404

Copyright © 2014. All Rights Reserved.