Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get Account Usage API retrieves information for your servers, including server usage.

Server usage is measured by how long the server is active. The server's activity is considered a coreHour. Each coreHour is one unit of billing.  


Sample request

GET https://api.armor.com/usage

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/usageGET

There are no parameters for this API call. 


Sample return

StatusResponse
200
[
 {
   "accountId": 2,
   "accountName": "Company",
   "transactionDate": " 2015-01-06T21:38:52.027",
   "unitOfMeasure": "coreHour",
   "billedUnits": 1,
   "resourceName": "coreAgent",
   "sku": "CORE",
   "productName": "Agent",
   "providerName": "Armor",
   "locationName": "DFW"
 }
]
400
Bad Request