How to get the device basic information like hostname, management ip, platformName, OS version, chassis id, contact etc through RestAPI

Hi All,

Currently, We have been using SOAP APIs and we are just migrating to RestAPI implementation. Can any one help me here about how to get the device basic information like hostname, management ip, platformName, OS version, chassis id, contact etc through RestAPI uri(Seeking RestURI for it).

Previously, I have been ising the below SOAP API to some of the above details

m_interfaces.getSystemSystemInfo().get_system_information()

Regards, Prakash.K

Not sure if this helps(11.5)

curl -sk -u admin:admin https:///mgmt/tm/sys/global-settings | python -m json.tool
 curl -sk -u admin:admin https:///mgmt/tm/sys/version | python -m json.tool
 curl -sk -u admin:admin https:///mgmt/tm/sys/hardware | python -m json.tool

Not sure if this helps(11.5)

curl -sk -u admin:admin https:///mgmt/tm/sys/global-settings | python -m json.tool
 curl -sk -u admin:admin https:///mgmt/tm/sys/version | python -m json.tool
 curl -sk -u admin:admin https:///mgmt/tm/sys/hardware | python -m json.tool

Thanks Kunjan. I just checked the JSON response and this should help me. Regards, Prakash.K

Thanks Kunjan. I just checked the JSON response and this should help me. Regards, Prakash.K

Can you please post the response for Thank you