Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80616members
346561posts

IT advisor REST API

Jerome_C
Ensign
Ensign
0 Likes
2
592

IT advisor REST API

Hi,

 

I start to use the REST API of IT advisor and there is some metrics that i would like to access like the number of U used/available in a rack.

When i send a request on this datas :

  • used_u_space
  • available_u_space

I have the following response :

{
  "code": 100001,
  "message": "Invalid access",
  "details": "license for include option: available_u_space not found."
}

 

Are some features related to a particular licence ? or there is something wrong in my request ?

Kind regards,

 

Jerome

Tags (1)
2 Replies 2
gsterling
Commander Commander
Commander
0 Likes
1
580

Re: IT advisor REST API

Hello Jerome

 

There are in some cases license requirements to make some REST calls.

 

For example, if you are using the KPI calls in REST if you browse to the KPI section of the api page

 

https://<ITA-server>/api/current/docs/index.html#!/kpis/getHistory

 

You'll see this info at the top if you expand the get option

 

kpis : Key Performance Indicator (KPI) Service
GET /kpisQuery for KPIs for an asset with the given asset-id

 

Implementation Notes
Query for KPIs of the given types for the given period for a specified asset.

 

Further down this section of the page you see there are a series of KPI's which require specific licenses. In your case the capacity license may be needed. Does your ITA server have the capacity license?

 

Regards

 

Greg Sterling

 

Tags (1)
Jerome_C
Ensign
Ensign
0 Likes
0
526

Re: IT advisor REST API

Hi,

 

Thank you for the reply. Unfortunatly i don't have the capacity licence for the moment, but your answer give me a clue on where to search now !

 

Kind regards,

 

Jerome

Tags (1)