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"
]
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
400 Response
indicates that there has been a processing error or an illegal argument, like an unsupported property.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
client is not authenticated
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
target not found or not authorized
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
internal error serving the request
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string