VMware Cloud Director API - PUT-LibrarySettings-catalog
PUT /admin/extension/settings/catalog
- Operation:
- PUT /admin/extension/settings/catalog
- Description:
- Update catalog settings details.
- Since:
- 5.5
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.admin.catalogSettings+xml
application/vnd.vmware.admin.catalogSettings+json
- Input type:
- CatalogSettingsType
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.admin.catalogSettings+xml
application/vnd.vmware.admin.catalogSettings+json
- Output type:
- CatalogSettingsType
- Examples
-
- Request
-
HTTP 1.1
PUT /api/admin/extension/settings/catalog
Headers:
Content-Length: 866
Content-Type: application/vnd.vmware.admin.catalogSettings+xml; charset=ISO-8859-1
x-vcloud-authorization: /LOwXxsAG2/2J87P4zt3nZ2dkxZXke77j6cFEpCExac=
Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vmext:CatalogSettings
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
href="https://vcloud.example.com/api/admin/extension/settings/catalog"
type="application/vnd.vmware.admin.catalogSettings+xml">
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/settings"
rel="up"
type="application/vnd.vmware.admin.systemSettings+xml"/>
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/settings/catalog"
rel="edit"
type="application/vnd.vmware.admin.catalogSettings+xml"/>
<vmext:isSyncEnabled>true</vmext:isSyncEnabled>
<vmext:SyncStartDate>2013-03-19T20:00:00.000+02:00</vmext:SyncStartDate>
<vmext:SyncStopDate>2013-03-20T07:00:00.000+02:00</vmext:SyncStopDate>
<vmext:RefreshInterval>720</vmext:RefreshInterval>
</vmext:CatalogSettings>
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1120
Content-Type: application/vnd.vmware.admin.catalogSettings+xml; version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vmext:CatalogSettings
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/extension/settings/catalog"
type="application/vnd.vmware.admin.catalogSettings+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://https://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/settings"
rel="up"
type="application/vnd.vmware.admin.systemSettings+xml"/>
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/settings/catalog"
rel="edit"
type="application/vnd.vmware.admin.catalogSettings+xml"/>
<vmext:isSyncEnabled>true</vmext:isSyncEnabled>
<vmext:SyncStartDate>2013-03-19T20:00:00.000+02:00</vmext:SyncStartDate>
<vmext:SyncStopDate>2013-03-20T07:00:00.000+02:00</vmext:SyncStopDate>
<vmext:RefreshInterval>720</vmext:RefreshInterval>
</vmext:CatalogSettings>