targettype

API Name

targettype

Description

Gets the target type of a managed instance.

REST Methods

GET

Precondition

Agent must be running.

Input Params

instanceName

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/ targettype?instanceName=HTML_8890

This is the sample request if you have duplicate instance names:

https://jdesmc.example.com:8998/manage/mgmtrestservice/ targettype?instanceName=tqa_923_lnx_jas_smc_ 21502&agentHostName=jdesma.example.com&jdeHome=/slot/ oracle/jde_agent_jas/SCFHA

Return

String - targetType

Sample Response

{ "instanceName": "PS_JAS_7114", "targetType": "webserver"}

This is the sample response if you have duplicate instances:

{ "instanceName": "PS_JAS_7114", "targetType": "webserver", "agentHostName":"" , "jdeHome":""}

Exception

Throws an exception if the change component operation fails for any reason.