getComponentHistory

API Name

getComponentHistory

Description

Retrieves the Change Component history for passed instance.

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.

instanceName: The Managed Instance Name.

agentHostName: The Agent Host Name for instance.

jdeHome: The Agent jde Home for instance.

Sample Request

curl --location 'https://ems4296.ad1.fusionappsdphx1.oraclevcn.com:9016/manage/mgmtrestservice/getComponentHistory?instanceName=tqa_926_lnx_jas_ems4071_24696&agentHostName=ems4071.ad1.fusionappsdphx1.oraclevcn.com&jdeHome=%2Fslot%2Fems15587%2Foracle%2Fjde_agent_web%2FSCFHA' \

--header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \

--header 'Cookie: SMCONSOLE_SSID=Dp8V7S_w9JFN_u_WzvDr1D3dPXPwlPnDho98xNyqkxv_lqir-Hgu!-688809719'

Return

HTTP status 200 is returned.

Sample Response

[

{

"New Release": "9.2.7.0",

"User Name": "JDE”,

"Old Release": "",

"Date": "11/23/22 1:45 PM"

},

{

"New Release": "9.2.7.2",

"User Name": "jde_admin",

"Old Release": "9.2.7.0",

"Date": "12/19/22 9:43 AM"

}

]

Exception

302: Found the Managed Instance with the passed in Instance Name.

404: Unable to find the Managed Instance with the passed in Instance Name.

403: Forbidden Status Code is returned if the Authentication information passed with the Request is not valid.