refreshenvironments (Release 9.2.6)

API Name

refreshenvironments

Description

This API refreshes static environments in system kernel processes and triggers all callobject kernels to recycle in the JD Edwards EnterpriseOne Enterprise Server instance.

REST Methods

POST

Precondition

The Server Manager Console, the Server Manager Agent, and the JD Edwards EnterpriseOne Enterprise Server must all be running.

Input Params

Server Manager admin user and password or Token

Enterprise Server agentHostName, jdeHome and instanceName

Sample Request

{{protocol}}://{{ip}}:{{port}}/manage/mgmtrestservice/ refreshenvironments?agentHostName=<agentHostName>&jdeHome=<jdeHome>&instanceName=<instanceName>

Return

HTTP status 200 is returned.

Sample Response

{ "refreshEnvironments": [ { "agentHostName":"jdesma.example.com", "jdeHome":"Z:\\jde_agent_6017\\SCFHA", "instanceName":"tqa_924_win_ent_jdesma_6117", "status":"success" } ] }

Exception

Throws an exception if the operation fails for any reason.