title: Location based pricing in Softlayer via API
body: <p>The script in the following link provides location based pricing for each item:
  <a href="http://sldn.softlayer.com/blog/cmporter/location-based-pricing-and-you" rel="nofollow noreferrer">http://sldn.softlayer.com/blog/cmporter/location-based-pricing-and-you</a></p>
  
  <p>When I run above script for example for Toronto location, the returned value does not match the pricing in the SL portal for Toronto. For example, the script returns 8GB @ 0.085/hr vs pricing from portal which is 0.090 for 8GB in Tor:</p>
  
  <pre><code>"864": {
  "capacity": "8",
  "description": "8 GB",
  "id": 864,
  "itemCategory": {
  "categoryCode": "ram",
  "id": 3,
  "name": "RAM",
  "quantityLimit": 0
  },
  "itemTaxCategoryId": 166,
  "keyName": "RAM_8_GB",
  "prices": [
  {
  "currentPriceFlag": "",
  "hourlyRecurringFee": ".085",
  "id": 112677,
  "itemId": 864,
  "laborFee": "0",
  "locationGroupId": 503,
  "onSaleFlag": "",
  "oneTimeFee": "0",
  "packageReferences": [
  {
  "id": 891477,
  "itemPriceId": 112677,
  "packageId": 46
  }
  ],
  "quantity": "",
  "recurringFee": "56.75",
  "setupFee": "0",
  "sort": 0
  }
  ],
  "softwareDescriptionId": "",
  "units": "GB",
  "upgradeItemId": ""
  },
  </code></pre>
  
  <p>What's wrong with this APIs?</p>