agentinfo

API Name

agentinfo

Description

Returns information about a particular agent.

REST Methods

GET

Precondition

Agent must be running.

Input Params

agentHostName, jdeHome

Sample Request

https://host:port/manage/mgmtrestservice/agentinfo? agentHostName=sma.oracle.com&jdeHome=C:\jde_home_agent_ SM9205\SCFHA

Return

HTTP status 200 is returned.

Sample Response

{"agentHostName":"jdesma.example.com", "jdeHome":"C:\\jde_ home_agent_SM9205\\SCFHA","result": { "agentJavaVersion":"1.8", "agentType":"STANDALONE_AGENT", "agentHostPort":"14503", "state": "RUNNING", "platform":"windows", "agentBuildNumber":"1" }}

Exception

None.