<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cannot create vcenter in vcloud usage meter 3.6 api in VMware vCloud™ API Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vCloud-API-Discussions/cannot-create-vcenter-in-vcloud-usage-meter-3-6-api/m-p/2855000#M2086</link>
    <description>&lt;P&gt;Hi, I'm trying to create a vcenter in Usage Manager 3.6.&lt;/P&gt;&lt;P&gt;curl -v -k -X POST -H x-usagemeter-authorization:&amp;lt;token&amp;gt; https://&amp;lt;host&amp;gt;:8443/um/api/vcServer -d '&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;vcServer&amp;gt;&amp;lt;hostname&amp;gt;hostnamexxx&amp;lt;/hostname&amp;gt;&amp;lt;port&amp;gt;443&amp;lt;/port&amp;gt;&amp;lt;username&amp;gt;user@vsphere.local&amp;lt;/username&amp;gt;&amp;lt;password&amp;gt;xxxxxxxx&amp;lt;/password&amp;gt;&amp;lt;monitor&amp;gt;true&amp;lt;/monitor&amp;gt;&amp;lt;sso&amp;gt;1&amp;lt;/sso&amp;gt;&amp;lt;/vcServer&amp;gt;'&lt;/P&gt;&lt;P&gt;But I always get an error 404. It seems that POST /api/vcServer is not the correct path, but it's the one indicated in api reference. I'm able to get and delete the vcenters, so I know that authorization token and API URL are correct. I'm only having problems with the create method.&lt;/P&gt;&lt;P&gt;Does anyone know how could I create an vcenter un Usage Meter 3.6 using the api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 12:57:20 GMT</pubDate>
    <dc:creator>Humphry</dc:creator>
    <dc:date>2021-06-29T12:57:20Z</dc:date>
    <item>
      <title>cannot create vcenter in vcloud usage meter 3.6 api</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-API-Discussions/cannot-create-vcenter-in-vcloud-usage-meter-3-6-api/m-p/2855000#M2086</link>
      <description>&lt;P&gt;Hi, I'm trying to create a vcenter in Usage Manager 3.6.&lt;/P&gt;&lt;P&gt;curl -v -k -X POST -H x-usagemeter-authorization:&amp;lt;token&amp;gt; https://&amp;lt;host&amp;gt;:8443/um/api/vcServer -d '&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;vcServer&amp;gt;&amp;lt;hostname&amp;gt;hostnamexxx&amp;lt;/hostname&amp;gt;&amp;lt;port&amp;gt;443&amp;lt;/port&amp;gt;&amp;lt;username&amp;gt;user@vsphere.local&amp;lt;/username&amp;gt;&amp;lt;password&amp;gt;xxxxxxxx&amp;lt;/password&amp;gt;&amp;lt;monitor&amp;gt;true&amp;lt;/monitor&amp;gt;&amp;lt;sso&amp;gt;1&amp;lt;/sso&amp;gt;&amp;lt;/vcServer&amp;gt;'&lt;/P&gt;&lt;P&gt;But I always get an error 404. It seems that POST /api/vcServer is not the correct path, but it's the one indicated in api reference. I'm able to get and delete the vcenters, so I know that authorization token and API URL are correct. I'm only having problems with the create method.&lt;/P&gt;&lt;P&gt;Does anyone know how could I create an vcenter un Usage Meter 3.6 using the api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 12:57:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-API-Discussions/cannot-create-vcenter-in-vcloud-usage-meter-3-6-api/m-p/2855000#M2086</guid>
      <dc:creator>Humphry</dc:creator>
      <dc:date>2021-06-29T12:57:20Z</dc:date>
    </item>
  </channel>
</rss>

