last person joined: yesterday 

Expand all | Collapse all

Aruba Central api call

Jump to Best Answer
This thread has been viewed 2 times
  • 1.  Aruba Central api call

    Posted Aug 11, 2019 12:03 PM



    I am trying to find the right api call for device details. Where i can find the divice name ect..


    I have been digging arround in the swagger tool: but i cant find any call that returns good values. msp_api/v1/customers/customerID/divices return my devices but i want some indepth details for a device.






  • 2.  RE: Aruba Central api call

    Posted Aug 12, 2019 04:48 PM

    Hi Michael,

    I would like you to elaborate your use case a little more for my better understanding. However, I am sharing a few API endpoints that will give you some granular device details. 


    • API for getting AP details
    • API for getting Controller/Gateway details
    • API for getting Switch details

    You can use the GET method with the above mentioned API endpoints to obtain the respective device details. Do check them out and let me know if it works for you.




  • 3.  RE: Aruba Central api call

    Posted Aug 13, 2019 01:22 AM

    Hi Jay,


    Thanks for your awnser. so i went to the swagger page. Entered my newly generated access code and executed:



    The responce body is  { "aps": [], "count": 0 } with responce code 200.



    The responce body is  { "count": 0, "switches": [] } with responce code 200.



    The responce body is  { "count": 0, "mcs": [] } with responce code 200.


    Do you have any idea what i am doing wrong ?





  • 4.  RE: Aruba Central api call
    Best Answer

    Posted Aug 13, 2019 05:31 PM

    If you are using an MSP account please perform the steps mentioned below:


    -  From MSP mode go to  the Monitoring and Reports app

    -  Search for the customer you want the information for

    -  Click on the customer to get into tenant view

    -  Once you are in the tenant view, go to the Maintainence app

    - Click on api gateway and create a new token 

    - Go to the swagger page

    - Test the API mentioned above with the newly created access token 


    Let me know if this worked for you.



  • 5.  RE: Aruba Central api call

    Posted Aug 14, 2019 02:22 AM

    Thank you very much, that was it!