POST /api/vms HTTP/1.1
Authorization: Basic YWRatW5AaA50YSJuYWw1aABja2VyMTM=
Content-Type: application/json
Accept: application/json
Host: 192.168.2.21
Connection: close
User-Agent: Paw/2.2.1 (Macintosh; OS X/10.10.3) GCDHTTPRequest
Content-Length: 83
{"vm":{"name":"superduper","cluster.name":"local_cluster","template.name":"Blank"}}
{
"message": "Request syntactically incorrect. See the description below for the correct usage:",
"detailedLink": {
"description": "add a virtual machine to the system",
"request": {
"http_method": "POST",
"headers": {
"header": [
{
"value": "application/xml|json",
"name": "Content-Type",
"required": "true"
},
{
"value": "any string",
"name": "Correlation-Id",
"required": "false"
},
{
"value": "201-created",
"name": "Expect",
"required": "false"
}
]
},
"body": {
"type": "VM",
"parameters_set": [
{
"description": "add a virtual machine to the system from scratch",
"parameter": [
{
"name": "vm.name",
"required": "true",
"type": "xs:string"
},
{
"name": "vm.template.id|name",
"required": "true",
"type": "xs:string"
},
{
"name": "vm.cluster.id|name",
"required": "true",
"type": "xs:string"
},