1. Operations
2. vapi
3. metadata
4. privilege
5. service
6. operation

## vapi metadata privilege service operation: list

Returns the identifiers for the operation elements contained in the service element corresponding to `service_id` that have privilege information.

### Request:

#### HTTP request

GET https://{server}/rest/com/vmware/vapi/metadata/privilege/service/operation
?service_id=obj-103

#### Request Query Parameters:

Name | Type | Description
--- | --- | ---
bold = required
service_id | string | Identifier of the service element.

### Response:

#### HTTP Status Code: 200

#### Representations:

- JSON
- XML

{
"value": [
"obj-103",
"obj-103"
]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/vapi/metadata/privilege/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>

#### Response Type:

Name | Type | Description
--- | --- | ---
bold = required
value | string[] | List of identifiers for the operation elements contained in the service element that have privilege information.

#### Errors:

HTTP Status Code | Type | Description
--- | --- | ---
404 | not_found | if the service element associated with `service_id` does not have any operation elements that have privilege information.