VMware Cloud Director API - POST-PostEvent
POST /admin/org/{id}/events
- Operation:
- POST /admin/org/{id}/events
- Description:
- Post an external event to the system.
- Since:
- 5.1
- Input parameters
-
input parameters for the event which will be triggered
- Consume media type(s):
-
application/vnd.vmware.admin.event+xml
application/vnd.vmware.admin.event+json
- Input type:
- EventType
- Output parameters
-
- Produce media type(s):
- None
- Output type:
- None
- Examples
-
- Request
-
HTTP 1.1
POST /api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/events
Headers:
Content-Length: 547
Content-Type: application/vnd.vmware.admin.event+xml; charset=ISO-8859-1
x-vcloud-authorization: SZMKkKToUBmDWSEeqZYL2yxpCqDiyToj5PYW3TigOrI=
Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:Event
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
serviceNamespace="myServiceNamespace"
success="true"
type="MyEventType"
typeFull="Description of the event.">
<vcloud:Owner
href="https://vcloud.example.com/api/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
name="Default"
type="application/vnd.vmware.vcloud.org+xml"/>
<vcloud:User
href="https://vcloud.example.com/api/admin/user/007a5dfd-32b4-42dd-813b-bfef3da70cb5"
name="User"
type="application/vnd.vmware.admin.user+xml"/>
</vcloud:Event>
- Response
-
HTTP/1.1 204 No Content
Headers:
Content-Type: application/*+xml;version=5.5
Vary: Accept-Encoding
Body: