AnsweredAssumed Answered

Get  ArcGIS Server Licenses List using REST and ArcPy

Question asked by amrutabildikar5 on Dec 2, 2018
Latest reply on Dec 4, 2018 by ppapadopoulosmarathondata-gr-esridist

Hi All,

 

I found following link to get ArcGIS server and extension list with their expiry details using REST:

Licenses—ArcGIS REST API: Administer your server | ArcGIS for Developers .

 

I am working with ArcGIS server 10.4.1 and python 2.7.1(32 bit)

If I navigate to the URL mentioned in documentation, it is not working.

Instead,Corrected URL: http://server:port/arcgis/admin/System/licenses 

 

I want to get the license list using Arcpy and trying to hit same URL but getting 302 as response code.

Is there any constraint on this URL ?just I am trying to use resource listed under 'system' folder? or If I am trying to get license using wrong way?

 

Thanks for your help!

 

Regards,

Amruta

Outcomes