[Meraki SDK] API Endpoint client.organizations.get_organization_inventory() output question

Solved
ToryDav
Building a reputation

[Meraki SDK] API Endpoint client.organizations.get_organization_inventory() output question

[
  {
    "mac": "00:11:22:33:44:55",
    "serial": "Q234-ABCD-5678",
    "networkId": "N_24329156",
    "model": "MR34",
    "claimedAt": 1518365681,
    "publicIp": "123.123.123.1",
    "name": "My AP"
  }
]

 Looking at the above output claimedAt appears to hold the date claimed but it's in a strange format. How can I pull the date a device was claimed from the SDK? 

I am building an asset inventory script and I need this data point included in my data set. 

1 Accepted Solution
NolanHerring
Kind of a big deal

That should be 'epoch', which you can convert here

https://www.epochconverter.com/
Nolan Herring | nolanwifi.com
TwitterLinkedIn

View solution in original post

1 Reply 1
NolanHerring
Kind of a big deal

That should be 'epoch', which you can convert here

https://www.epochconverter.com/
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.