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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length

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