Net3 API Interface for Customer Portal

<back to all web services

VMServerActionReq

Virtuozzo

The following routes are available for this service:
POST/virtuozzo/vm/server/actionPerform an Action on the Server
VMServerActionReq Parameters:
NameParameterData TypeRequiredDescription
SessionIdquerystringYesThe session identifier
ServerIdquerystringYesThe Server unique identifier
ProjectIdquerystringYesThe Project ID unique identifier
ActionbodyServerActionYesThe requested Server Action

Allowable Values

  • OsStop
  • OsStart
  • Suspend
  • ResumeSuspend
ActionDetailsbodystringNoThe requested Server Action detail information
ServerAction Enum:
OsStop
OsStart
Suspend
ResumeSuspend

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 /virtuozzo/vm/server/action HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"sessionId":"String","serverId":"String","projectId":"String","action":"OsStop","actionDetails":"String"}