wlsserverinfo

API Name

wlsserverinfo

Description

Gets information about the WebLogic Server.

REST Methods

GET

Precondition

Agent must be running.

Input Params

wlsInstanceName Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

https://jdesmc.example.com:8998/manage/mgmtrestservice/ wlsserverinfo?wlsInstanceName=WLS1221_xif

This is the sample request if you have duplicate instance names: https://jdesmc.example.com:8998/ manage/mgmtrestservice/wlsserverinfo?wlsInstanceName=WLS1221_ xif&agentHostName=jdesmc.example.com&jdeHome=/slot/ oracle/ jde_agent_jas/SCFHA

Return

HTTP status 200 is returned.

Sample Response

{ "wlsInstanceName":"WLS1221_xif", "wlsInstancesInfo": [ { "AdminServer": { "canonicalName":"jde:domainName=base_domain, instanceName=WLS1221_xif,j2eeType=J2EEServer,metricName=owl_ J2EEServer,name=AdminServer,targetType=owl_1212", "pattern": false, "domainPattern":false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString":"instanceName=WLS1221_xif,name=AdminServer, domainName=base_domain,j2eeType=J2EEServer,targetType=owl_1212, metricName=owl_J2EEServer", "canonicalKeyPropertyListString": "domainName=base_domain,instanceName=WLS1221_xif, j2eeType=J2EEServer,metricName=owl_J2EEServer,name=AdminServer, targetType=owl_1212", "keyPropertyList":{ "instanceName": "WLS1221 xif", "targetType":"owl_1212", "name":"AdminServer", "domainName": "base_domain", "metricName":"owl_J2EEServer","j2eeType": "J2EEServer" }, "domain":"jde" },

Sample Response (continued)

"SMC_Server_EOne_MC_SM9205_Console": { "canonicalName": "jde:domainName=base_domain,instanceName=WLS1221_xif, j2eeType=J2EEServer,metricName=owl_J2EEServer,name=SMC_ Server_EOne_MC_SM9205_Console,targetType=owl_1212", "pattern": false, "domainPattern":false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern": false, "keyPropertyListString":"instanceName=WLS1221_xif, name=SMC_Server_EOne_MC_SM9205_Console,domainName=base_domain, j2eeType=J2EEServer,targetType=owl_1212,metricName=owl_J2EEServer", "canonicalKeyPropertyListString":"domainName=base_domain, instanceName=WLS1221_xif,j2eeType=J2EEServer,metricName=owl_ J2EEServer,name=SMC_Server_EOne_MC_SM9205_Console,targetType=owl_ 1212", "keyPropertyList":{ "instanceName":"WLS1221_xif", "targetType":"owl_1212", "name":"SMC_Server_EOne_MC_SM9205_ Console", "domainName":"base_domain", "metricName":"owl_ J2EEServer", "j2eeType":"J2EEServer" }, "domain":"jde" } },

Sample Response (continued)

{ "J2EE_BSSV_37200": { "canonicalName":"jde:domainName=bssv_ domain,instanceName=WLS1221_xif,j2eeType=J2EEServer,metricName=owl_ J2EEServer,name=J2EE_BSSV_37200,targetType=owl_1212", "pattern":alse, "domainPattern":false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString" "instanceName=WLS1221_xif,name=J2EE_BSSV_ 37200,domainName=bssv_domain,j2eeType=J2EEServer,targetType=owl_ 1212,metricName=owl_J2EEServer", "canonicalKeyPropertyListString": "domainName=bssv_domain,instanceName=WLS1221_xif, j2eeType=J2EEServer,metricName=owl_J2EEServer,name=J2EE_BSSV_ 37200,targetType=owl_1212", "keyPropertyList":{ "instanceName": "WLS1221_xif","targetType":"owl_1212", "name":"J2EE_BSSV_37200", "domainName":"bssv_domain", "metricName":"owl_J2EEServer", "j2eeType":"J2EEServer" }, "domain":"jde" },

Sample Response (continued)

"J2EE_BSSV_37100":{ "canonicalName": "jde:domainName=bssv_domain, instanceName=WLS1221_xif,j2eeType=J2EEServer,metricName=owl_ J2EEServer,name=J2EE_BSSV_37100,targetType=owl_1212", "pattern": false, "domainPattern":false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString": "instanceName=WLS1221_xif,name=J2EE_BSSV_ 37100,domainName=bssv_domain,j2eeType=J2EEServer,targetType=owl_ 1212,metricName=owl_J2EEServer", "canonicalKeyPropertyListString": "domainName=bssv_domain,instanceName=WLS1221_xif, j2eeType=J2EEServer,metricName=owl_J2EEServer,name=J2EE_BSSV_ 37100,targetType=owl_1212", "keyPropertyList":"instanceName": "WLS1221_xif", "targetType":"owl_1212", "name":"J2EE_BSSV_37100", "domainName":"bssv_domain", "metricName":"owl_J2EEServer", "j2eeType":"J2EEServer" }, "domain":"jde" },

Sample Response (continued)

"AdminServer": { "canonicalName":"jde:domainName=bssv_domain, instanceName=WLS1221_xif,j2eeType=J2EEServer,metricName=owl_ J2EEServer,name=AdminServer,targetType=owl_1212", "pattern":false, "domainPattern":false, "propertyPattern":false,"propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString":"instanceName=WLS1221_xif,name=AdminServer, domainName=bssv_domain,j2eeType=J2EEServer,targetType=owl_1212, metricName=owl_J2EEServer", "canonicalKeyPropertyListString": "domainName=bssv_domain,instanceName=WLS1221_xif, j2eeType=J2EEServer,metricName=owl_J2EEServer,name=AdminServer, targetType=owl_1212", "keyPropertyList":{ "instanceName": "WLS1221_ xif", "targetType":"owl_1212", "name":"AdminServer", "domainName":"bssv_domain", "metricName":"owl_J2EEServer", "j2eeType":"J2EEServer" }, "domain":"jde" } } ]}

Exception

Throws an exception if the operation fails for any reason.