Article ID: 4430, created on Mar 24, 2008, last review on Apr 18, 2012

  • Applies to:
  • Sphera

Symptoms

It is possible to send OpenAPI command to DCM for the Move VDS procedure.

Resolution

Preface
DCM API is different from the SD API in its technological implementation. Actually, it has a WEB gateway for the XML. So, there is a URL that points to a PHP file in DCM. If you wish to send an API command to DCM, you just have to send an HTTP request to this URL and include the XML command in a "POST" variable named "grs_cmd".
 
This is actually like submitting an HTML FORM with a text field named grs_cmd.
This method is called XML:RPC over HTTP. It is very common, and a lot more flexible than using the formatter client.


The Command
The OpenAPI for move VDS command should look like this

<CMD
cmd="add"
type="move_account"
admin_user=""
admin_passwd=""
name=""
target_server_name=""
target_partition_name=""
check_os_version="0"
check_os_release="0"
check_os_platform="0"
check_account_platform="0"
check_version="0"
vds_files_test_level='2'
sys_files_test_level='2'
check_account_template="0" />

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF