cancel
Showing results for 
Search instead for 
Did you mean: 

upTime empty in API

upTime empty in API

bjorn
New Contributor

Hi, i'm able to get the data out of the hivemanager via the API.

I noticed that the upTime of the accesspoints are empty

Am I doing something wrong here?

 

$VAR1 = {

     ‘error’ => undef,

     ‘data’ => {

           ‘upTime’ => undef,

           ‘dns’ => ‘****’,

           ‘subnetMask’ => ‘255.255.255.0’,

           ‘locationId’ => 8589939959,

           ‘macAddress’ => ‘D854A25C4EC0’,

           ‘deviceId’ => 8589939779,

           ‘mode’ => ‘PORTAL’,

           ‘ip’ => ‘*****’,

           ‘activeClients’ => 1,

           ‘model’ => ‘AP_230’,

           ‘serialId’ => ‘*****’,

           ‘deviceTemplate’ => ‘AP230’,

           ‘mgmtStatus’ => ‘MANAGED’,

           ‘latitude’ => undef,

           ‘configType’ => ‘DHCP_CLIENT_WITHOUT_FALLBACK’,

           ‘alarmEvents’ => [],

           ‘policy’ => ‘****’,

           ‘ntp’ => ‘0.aerohive.pool.ntp.org’,

           ‘locations’ => [],

           ‘longitude’ => undef,

           ‘lastUpdated’ => ‘2018-10-17T10:53:35.983Z’,

           ‘osVersion’ => ‘8.2.2.0’,

           ‘connected’ => bless( do{(my $o = 1)}, ‘JSON::PP::Boolean’ ),

           ‘simulatedDevice’ => bless( do{(my $o = 0)}, ‘JSON::PP::Boolean’ ),

           ‘cpuUsage’ => 10,

           ‘hostName’ => ‘*****’,

           ‘defaultGateway’ => ‘0.0.0.0’,

           ‘memUsage’ => 57,

           ‘ownerId’ => 2

          }

10 REPLIES 10

samantha_lynn
Esteemed Contributor III

Which endpoint are you making a call to?

GTM-P2G8KFN