Modify an existing global target property
patch
https://EM_HOST:8080/em/api/globalTargetProperties/{globalTargetPropertyID}
This api modifies an existing global target property identified by the given id.
Request
Path Parameters
-
id(required): string
the global target property id
Supported Media Types
- application/json+merge-patch
Root Schema : schema
Type:
object
The payload used to modify an existing target
Show Source
-
addValidValues: array
addValidValues
The valid values to add
-
hasValidValuesEnabled: boolean
Indicates if target property values added to targets should be checked against the valid values listExample:
false
-
isCopyValidValuesFromTargets: boolean
Indicates if existing target property values from targets should be added to the valid values list so that when enabled the valid values list contains all already used valuesExample:
true
-
name: string
The new name of the propertyExample:
My Updated Property Name
-
removeValidValues: array
removeValidValues
The valid values to remove
Nested Schema : addValidValues
Type:
array
The valid values to add
Show Source
Example:
[
"New valid value",
"Another new valid value"
]
Nested Schema : removeValidValues
Type:
array
The valid values to remove
Show Source
Example:
[
"Old value",
"Another old value"
]
Response
Supported Media Types
- application/json
200 Response
Successful Response
Root Schema : GlobalTargetProperty
Type:
object
This is the representation of an EM target resource.
Show Source
-
displayName(required): string
the property display name in the client localeExample:
Location
-
hasValidValuesEnabled: boolean
Indicates if target property values added to targets should be checked against the valid values list.Example:
true
-
id(required): string
the target property idExample:
orcl_gtp_location
-
links: object
links
the target related links
-
name(required): string
the target property nameExample:
Location
-
validValues: array
validValues
the valid values for this property
Nested Schema : validValues
Type:
array
the valid values for this property
Show Source
Example:
[
"London",
"Paris",
"Rome"
]
400 Response
indicates that there has been a processing error or an illegal argument, like an unsupported property.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
401 Response
Client is not authenticated.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
404 Response
Resource not found or not authorized
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal error serving the request.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
503 Response
Indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported