VMware Cloud Director API - GET-Service
GET /service/{id}
- Operation:
- GET /service/{id}
- Description:
- Return the Extension Service API Definition.
- Since:
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.vcloud.service+xml
application/vnd.vmware.vcloud.service+json
- Output type:
- ServiceType
- Examples
-
- Request
-
HTTP 1.1
GET /api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2
Headers:
x-vcloud-authorization: SZMKkKToUBmDWSEeqZYL2yxpCqDiyToj5PYW3TigOrI=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 790
Content-Type: application/vnd.vmware.vcloud.service+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><Service
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2"
id="urn:vcloud:externalService:15eacf4c-b4d0-4dba-9c65-7977a9a10ba2"
name="NewExtensionService"
type="application/vnd.vmware.vcloud.service+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/apidefinitions"
rel="down:apiDefinitions"
type="application/vnd.vmware.vcloud.query.records+xml"/>
<Description>description</Description>
<Namespace>ServiceNamespace</Namespace>
<Vendor>vendor</Vendor>
</Service>