Bulk operation for reading parameter values across multiple contexts
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobServiceConfigurationContexts/actions/bulkGetParameters
Bulk operation for reading parameter values. Parameters can belong to different contexts.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectBulk Read operation request body
Show Source
-
include: string
Allowed Values:
[ "allContextValues" ]A string field indicating the bulk operation should provide extended results for a given field. Currently, only "allContextValues" is supported. It adds values from related contexts to each returned parameter, such as the selected context, GLOBAL, DEFAULT, or other metadata-related contexts. Use this to compare values across contexts in one bulk response instead of making one call per context. -
items(required): array
items
List of job configuration parameters for which to retrieve values.
Nested Schema : items
Type:
arrayList of job configuration parameters for which to retrieve values.
Show Source
-
Array of:
object items
Bulk Read request body item
Nested Schema : items
Type:
objectBulk Read request body item
Show Source
-
contextName(required): string
Job config context name
-
name(required): string
Job config parameter name
Response
Supported Media Types
- application/json
207 Response
Mixed result - each operation brings its own http result
Root Schema : JobServiceConfigurationContextBulkGetParameters
Type:
objectBulk Read operation result
Show Source
-
items(required): array
items
List of Job configuration parameters
Match All
Bulk Read operation result
Bulk Read operation result
Show Source
-
object
BulkActionResult
Abstract object representing a response for a bulk operation
-
object
JobServiceConfigurationContextBulkGetParameters-allOf[1]
Nested Schema : BulkActionResult
Type:
objectAbstract object representing a response for a bulk operation
Show Source
-
failed(required): integer
Count of failed operations in the bulk action
-
status(required): string
Allowed Values:
[ "SUCCESS", "PARTIAL_SUCCESS", "FAILURE" ]Summary of the bulk operation -
successful(required): integer
Count of successful operations in the bulk action
-
total(required): integer
Count of total operations in the bulk action
Example:
{
"status":"PARTIAL_SUCCESS",
"failed":1,
"successful":2,
"total":3
}Nested Schema : JobServiceConfigurationContextBulkGetParameters-allOf[1]
Type:
objectNested Schema : items
Match One Schema
Show Source
-
object
BulkActionResultItem
Abstract object representing a response for a single result from a bulk operation
-
object
BulkActionReadResultItem
Abstract object representing a response for a single successful result from a bulk read operation
Nested Schema : BulkActionResultItem
Type:
objectAbstract object representing a response for a single result from a bulk operation
Show Source
-
code: string
Action HTTP error code - optional
-
contextName(required): string
Job config context name
-
httpStatusCode(required): integer
HTTP status code
-
links: object
SelfLink
A link to self
-
message(required): string
Message with the operation result
-
name(required): string
Job config parameter name
Nested Schema : BulkActionReadResultItem
Type:
objectAbstract object representing a response for a single successful result from a bulk read operation
Match All
Abstract object representing a response for a single successful result from a bulk read operation
Abstract object representing a response for a single successful result from a bulk read operation
Show Source
-
object
BulkActionReadResultItem-allOf[0]
-
object
Parameter
Job configuration parameter, identified by context name / parameter name. Contains a single value. In case the value is not defined on given context, the value is populated from metadata (default value) or from the GLOBAL context. Alternatively, user can ask to see values from all related contexts.
Nested Schema : SelfLink
Type:
objectA link to self
Show Source
-
self(required): object
Link
A link referencing to another api
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
Nested Schema : BulkActionReadResultItem-allOf[0]
Type:
Show Source
object-
httpStatusCode(required): integer
HTTP status code
Nested Schema : Parameter
Type:
objectJob configuration parameter, identified by context name / parameter name. Contains a single value.
In case the value is not defined on given context, the value is populated from metadata (default value)
or from the GLOBAL context.
Alternatively, user can ask to see values from all related contexts.
Show Source
-
contextName(required): string
Context name
-
contextValues: object
contextValues
Additional Properties Allowed: additionalPropertiesParameter values from all related contexts / metadata
-
links(required): object
SelfLink
A link to self
-
name(required): string
Parameter name
-
value(required):
value
Parameter value
Nested Schema : contextValues
Type:
objectAdditional Properties Allowed
Show Source
Parameter values from all related contexts / metadata
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported