NOTE: This is an article for the legacy API. To access updated information on this endpoint, please reference the HTML guide attached to the bottom of the REST API Access document
Resource: SystemStatus/
Verb: GET
Description: Retrieves the current StockIQ system status, e.g. ready, refreshing, etc.
Returns: JSON object with system status:
{
"SystemStatusId": 1,
"StatusFlag": 256,
"LastUpdated": "2017-01-16T13:12:52.9053492-07:00",
"LastUpdatedBy": "DataRefresher"
}
Query String Arguments:
- <none>
Status Flag Values:
- NewlyInstalled = 0,
- Ready = 1,
- RunningExtracts = 2,
- ExtractsCompleted = 4,
- RunningImports = 8,
- ImportsCompleted = 16,
- UpdatingDatabase = 32,
- DatabaseUpdated = 64,
- RunningCalculations = 128,
- CalculationsComplete = 256,
- RefreshPending = 512,
- CancelRefreshRequested = 1024,
- RefreshCanceled = 2048,
- ExtractError = 4096,
- ImportError = 8192,
- DatabaseUpdateError = 16384,
- DataRefreshError = 32768