Net3 API Interface for Customer Portal

<back to all web services

Clone

Requires Authentication
The following routes are available for this service:
POST/clone
CloneBase Parameters:
NameParameterData TypeRequiredDescription
sessionIdformstringNo
datastoreformstringNo
diskpoolformstringNo
hypervisorformstringNo
esxhostformstringNo
hostformstringNo
imageformstringNo
labelformstringNo
nowaitformboolNo
partsformstringNo
pathformstringNo
restoreoptionformstringNo
scriptformstringNo
vmnameformstringNo
vcenterformstringNo
poweronvmformboolNo
mgmtserverformstringNo
JobIdformstringNo
UserIdformstringNo
CustomerIdformstringNo
OrgNameformstringNo
DataCenterLocationformstringNo
StartVMformintNo
isRemoteformboolNo
specifyNewHostformboolNo
CloneResponse Parameters:
NameParameterData TypeRequiredDescription
statusformintNo
contentformstringNo
jobidformstringNo
errorcodeformintNo
errormessageformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /clone HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"sessionId":"String","datastore":"String","diskpool":"String","hypervisor":"String","esxhost":"String","host":"String","image":"String","label":"String","nowait":false,"parts":"String","path":"String","restoreoption":"String","script":"String","vmname":"String","vcenter":"String","poweronvm":false,"mgmtserver":"String","jobId":"String","userId":"String","customerId":"String","orgName":"String","dataCenterLocation":"String","startVM":0,"isRemote":false,"specifyNewHost":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"status":0,"content":"String","jobid":"String","errorcode":0,"errormessage":"String"}