Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This POST service will perform the same action found on the Properties tab on a Project or an Environment-Instance definition. It will initiate a request to update a property selected from the code. Each JSON request can update any number of properties across multiple Projects and Environment-Instances.

Info
titleAPI URL
http://host:port/flexdeploy/rest/properties/updateProperties


Info

Note that you must provide either the qualifiedProjectName OR the environmentCode AND instanceCode.


Code Block
titleSample JSON Request for Project Properties
{
   "authentication":
    {
       "userId": "fdadmin",
       "password": "password1"
    },
   "properties": [
    {
       "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial1",
       "code": "FDEBS_APPLICATION_SHORT_NAME",
       "value": "FD_PROJECT_NAME",
       "isExpression": "true"
    },
    {
       "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial2",
       "code": "FDEBS_JAVA_ROOT_SOURCE_DIR",
       "value": "java",
       "isExpression": "false"
    }]
}


Code Block
titleSample JSON Request for Environment-Instance Properties
{
   "authentication":
    {
       "userId": "fdadmin",
       "password": "password1"
    },
   "properties": [
    {
       "environmentCode": "BLD",
       "instanceCode": "BUILDADF",
       "code": "FDJDEV_INSTALL_HOME",
       "value": "'/oracle/Middleware/Oracle_Home/' + FD_ENVIRONMENT_CODE",
       "isExpression": "true"
    },
    {
       "environmentCode": "BLD",
       "instanceCode": "BUILDEBS",
       "code": "FDEBS_DB_USER",
       "value": "apps",
       "isExpression": "false"
    }]
}


Code Block
titleSample JSON Request for Different Scoped Properties
{
   "authentication":
    {
       "userId": "fdadmin",
       "password": "password1"
    },
   "properties": [

    {
       "environmentCode": "BLD",
       "instanceCode": "BUILDADF",
       "code": "FDJDEV_INSTALL_HOME",
       "value": "'/oracle/Middleware/Oracle_Home/' + FD_ENVIRONMENT_CODE",
       "isExpression": "true"
    },
    {
       "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial1",
       "code": "FDEBS_JAVA_ROOT_SOURCE_DIR",
       "value": "java",
       "isExpression": "false"
    }]

}

Parameters

Parameter

Required

Type

Description

authentication

Y

Object

See Common Parameters below.

properties

Y

Array


environmentCode

N

String

This is the environment code, not the environment name that you see on most screens.

instanceCode

N

String

This is the instance code, not the instance name that you see on most screens.

qualifiedProjectName

N

String

The qualified project name starts with /FlexDeploy and includes any sub folder, then the application and finally the project.

code

Y

String

See Common Parameters below.

value

Y

String

See Common Parameters below.

isExpression
YBooleanSee Common Parameters below.

Insert excerpt
Update Properties API (version 0)
Update Properties API (version 0)
nopaneltrue