It does. Here is an example of a gateway:
Resp example:
{'code': 200,
'msg': {'devices': [{'aruba_part_no': '<omitted>',
'customer_id': '<omitted>',
'customer_name': '<omitted>',
'device_type': 'GATEWAY',
'imei': <omitted>,
'macaddr': '<omitted>',
'model': '<omitted>',
'serial': '<omitted>',
'services': ['<omitted>'],
'tier_type': '<omitted>'}],
'total': <omitted>}}
Was able to pull a gateway just fine. Sorry had to omit almost all the data.
--Rob
Original Message:
Sent: 3/6/2023 9:06:00 AM
From: bkohnke
Subject: RE: Central API endpoint for device inventory not working
Hi Rob,
thanks for the answer. In the documentation it says
I tried all of those and always get an error 500.
Does it work for you?
------------------------------
Thanks,
Bjarne
------------------------------
Original Message:
Sent: Mar 06, 2023 07:47 AM
From: RE50
Subject: Central API endpoint for device inventory not working
Valid device types are: "iap", "switch" or "Gateway".
So in your case, you should use iap instead of all_ap.
--Rob
Original Message:
Sent: Mar 03, 2023 07:46 AM
From: bkohnke
Subject: Central API endpoint for device inventory not working
Hi all,
I want to get my device inventory from the Central API by using this endpoint:
https://developer.arubanetworks.com/aruba-central/reference/acp_servicenb_apiapidevice_inventoryget_devices
My request body looks like this:
body = {
'sku_type': 'all_ap',
}
But when I send it, I get error 500 INTERNAL_SERVER_ERROR
Any ideas?
------------------------------
Thanks,
Bjarne
------------------------------