template hardware record required for softlayer generateOrderTemplate API
<p>i get the following error when i attempt to generate an order template with the softlayer API SoftLayer_Hardware::generateOrderTemplate.  </p>

<blockquote>
  <p>{   "error": "A template hardware record is required to use this
  method.",   "code": "SoftLayer_Exception_MissingParameter" }</p>
</blockquote>

<p>my request looks like this:</p>

<pre><code>{ 
    "datacenter" : { "name" : "dal02" },
    "hostname": "deleteme", 
    "domain": "ciber-itc.local", 
    "hourlyBillingFlag": true, 
    "processorCoreAmount": 4,
    "memoryCapacity": 8192,
    "operatingSystemReferenceCode": "UBUNTU_LATEST",

    "networkComponents": [ 
        { "maxSpeed": 1000 } 
    ],
    "hardDrives": [ 
        {"capacity": 500 } 
    ] }
</code></pre>

<p>and my api call is formed like this:  <a href="https://username:apikey@api.softlayer.com:443/rest/v3/SoftLayer_Hardware/generateOrderTemplate.json" rel="nofollow noreferrer">https://username:apikey@api.softlayer.com:443/rest/v3/SoftLayer_Hardware/generateOrderTemplate.json</a>.</p>

<p>A similar question is posted in this <a href="https://stackoverflow.com/questions/37188065/softlayer-a-template-guest-record-is-required-to-use-this-method">stackoverflow thread</a>.  However the article relates to a virtual guest, whereas i am attempting to create a hardware vsi.  So i can't relate getting block devices or archive transactions for a virtual guest to this api in the hardware context.</p>

<p>i have tried variations of the json request - using fixed configurations and always ensuring all required parameters are presented.</p>