servergroupinfo/{serverGroupName}/{targetType}/metricType

API Name

servergroupinfo/{serverGroupName}/{targetType}/metricType

Description

Provide the configuration and respective value for all metric type.

REST Methods

GET

Precondition

Server Manager Console must be running.

Input Params

TOKEN: Header returned as a response to the /authenticate Server Manager REST API Call.

TOKEN: Cookie returned as a response to the /authenticate Server Manager REST API Call.

AUTHORIZATION: Base64 encoded Basic username:password combination necessary for Authentication.

serverGroupName: The name of server Group which configuration needs to be fetched.

targetType: The target Type which configuration needs to be fetched.

metricName: The metricName which configuration needs to be fetched.

Sample Request

'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/servergroupinfo/Test/webserver/Miscellaneous' \

--header 'Content-Type: application/json' \

--header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg=='

Return

HTTP status 200 is returned.

Sample Response

{

"result": {

"metricInfo": {

"jas_interop_inbound": {

"port": "0",

"manual_timeout": "30000000",

"enterpriseServer": "",

"repository": "c:\\connector\\repository"

},

"jas_events": {

"jndiProviderURL": "",

"initialContextFactory": "none"

},

"jas_transactions": {

"reapInterval": "5",

"maxAge": "10"

},

"jde_health_check": {

"healthCheckUser": "",

"healthCheckPwd": "",

"healthCheckUbeVersion": "XJDE0001",

"healthCheckEnvironment": "",

"healthCheckApp": "P01012_W01012B",

"healthCheckUbe": "R0006P",

"healthCheckAppVersion": "ZJDE0001"

},

"jas_jdenet_server": {

"enableJargon": "true",

"glossaryTextServer": "",

"jargonCacheTimeout": "360000",

"codePage": "1252"

}

}

}

}

Exception

400: Bad Request Status Code is returned in case the Request is not well formed for the API which is being invoked.

403: Forbidden. Valid Authentication Information is not passed with the Request.

500: Internal Server Error, In the unlikely case of error occurring on the Server. Refer to the logs for more details.