4 Replies Latest reply on Feb 14, 2020 6:35 AM by Govt_Matt

    Import Unmanaged VM via REST API

    Dell_Technologies Novice



      Lately we had the need to import unmanaged vm's to vRA BG's.

      We were able to do so with CloudClient but we want to automate this process.


      vRA supporting REST API calls so we found a method for registering unmanaged VM's to vRA :



      This is the body of the POST:


        "owner": "string",

        "virtualMachineId": "string",

        "requestingUser": "string",

        "componentId": "string",

        "machineProperties": [


            "virtualMachineId": "string",

            "isEncrypted": false,

            "name": "string",

            "id": "string",

            "value": "string",

            "isRuntime": false,

            "isHidden": false



        "compositeBlueprintId": "string",

        "deploymentName": "string",

        "hostReservationId": "string",

        "templateId": "string",

        "hostStorageReservationId": "string"



      We filled those properties as needed but the error we are getting back is:

      "Data serialization error.

      Could not read message [acceptableTypes: [application/*+json, application/json]]"


      Can someone help with this error ?