Process a configuration

post

/fscmRestApi/scm/redwood/11.13.18.05/configurationRuntime

Creates or restores a configuration and executes the supplied operations and queries in step order.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ConfigurationRequest
Type: object
Show Source
  • The code that identifies the application creating or modifying the configuration, such as FOM for Fusion Order Management.
  • The optional Commercial Change Order number whose in-flight model and rule revisions are used for evaluation instead of only the currently published production version.
  • The header identifier of an existing configuration. When supplied with ConfigRevisionId, the service restores that configuration and executes the requested operations or queries in the restored context.
  • The revision identifier of an existing configuration. Supply it with ConfigHeaderId to restore the configuration for validation, queries, or further changes.
  • The internal configurator path of the root model.Supply it with configuratorPath to restore the configuration
  • customParameters
    Optional custom name-value pairs used while evaluating the configuration.
  • executionSteps
    The ordered operations and read-only queries to execute. Query results reflect all operations and rule processing completed by earlier steps in the collection.
  • header
    Additional Properties Allowed: true
    Optional order or quote header information used while evaluating the configuration.
  • The item number of the root Configurator model to create or restore.
  • The code that identifies the inventory organization containing the model.
  • The quantity of the root configuration model line.
  • The description of the configuration request.
  • The caller-assigned identifier used to correlate the configuration request with its response.
  • The name of the configuration request.
  • The effective date and time used to resolve the applicable Configurator model version. Unless ChangeOrderNumber is supplied, operations use the production model effective on this date.
  • The optional unit-of-measure code to use for the configuration model line.
    Example: Ea
  • Default Value: COLLECT_ALL_RESULTS
    Allowed Values: [ "COLLECT_ALL_RESULTS", "FAIL_FAST", "STRICT_NO_SIDE_EFFECTS" ]
    The optional processing and validation mode. FAIL_FAST stops at the first failed input or validation error and does not save a new configuration. COLLECT_ALL_RESULTS executes all steps, reports each step result, and saves the configuration with the successfully applied inputs; this is the default. STRICT_NO_SIDE_EFFECTS fails validation and does not save if processing introduces unrequested changes such as automatic defaults, automatic selections, or rule-driven selections outside the requested operations. STRICT_NO_SIDE_EFFECTS does not apply when explicit Select, Deselect, SetQuantity, or SetValue operations are supplied.
Nested Schema : customParameters
Type: array
Optional custom name-value pairs used while evaluating the configuration.
Show Source
Example:
[
    {
        "Value":"Op1-If1",
        "Name":"SmartPartNumber"
    },
    {
        "Value":12,
        "Name":"CustomAttribute"
    }
]
Nested Schema : executionSteps
Type: array
The ordered operations and read-only queries to execute. Query results reflect all operations and rule processing completed by earlier steps in the collection.
Show Source
Nested Schema : header
Type: object
Additional Properties Allowed: true
Optional order or quote header information used while evaluating the configuration.
Example:
{
    "CalculateTaxFlag":false,
    "CalculateShippingChargesFlag":false,
    "CalculatePricingChargesFlag":true,
    "PricingStrategyId":"300100071623888"
}
Nested Schema : items
Type: object
Show Source
Nested Schema : Value
Match One Schema
Show Source
Nested Schema : ExecutionStep
Type: object
Show Source
  • The fully qualified path of the configuration component, option, or transactional attribute targeted by the step. NodePath is required for the Select operation.
  • nodeProperties
    Minimum Number of Items: 1
    The evaluated component properties to return for a QUERY step.
  • ScalarValueType
    A string, number, boolean, or null configuration value. SetValue uses this value for a transactional item attribute, Text Feature, Integer Feature, or Decimal Feature; queries use it for returned property values.
  • Allowed Values: [ "SetQuantity", "Select", "Deselect", "SetValue", "Validate", "Finish" ]
    The operation to perform. Select marks a selectable node as user selected. Deselect removes its selection. SetQuantity selects a quantity-enabled node when necessary and assigns its quantity; zero removes the instance. SetValue assigns a value to a transactional item attribute, Text Feature, Integer Feature, or Decimal Feature. Validate performs a standalone, logically non-mutating assessment and cannot be combined with other operations. Finish performs final validation, persists the configuration, closes the session, and must be the last operation.
  • An optional caller-assigned integer that uniquely identifies the operation being performed.
  • Allowed Values: [ "Cancel", "Override" ]
    Optional conflict behavior for an OPERATION step. Cancel reverts the operation when it introduces configuration conflicts, leaving the configuration unchanged for that step.
  • The quantity to assign to a quantity-enabled component. It is required for SetQuantity and optional for Select. Setting the quantity to zero removes the instance.
  • The caller-assigned identifier used to correlate an execution step with its result. Steps are processed in collection order.
  • Allowed Values: [ "OPERATION", "QUERY" ]
    The execution-step type. OPERATION performs a configuration action. QUERY is read-only and returns evaluated component properties after prior steps and rule processing.
Match One Schema
Show Source
Nested Schema : nodeProperties
Type: array
Minimum Number of Items: 1
The evaluated component properties to return for a QUERY step.
Show Source
Nested Schema : ScalarValueType
A string, number, boolean, or null configuration value. SetValue uses this value for a transactional item attribute, Text Feature, Integer Feature, or Decimal Feature; queries use it for returned property values.
Match One Schema
Show Source
Nested Schema : ExecutionStep-oneOf[0]
Type: object
Show Source
Nested Schema : ExecutionStep-oneOf[1]
Type: object
Show Source
Match One Schema
Show Source
Nested Schema : NodeProperty
Type: object
Show Source
  • Allowed Values: [ "Name", "Description", "DisplayName", "DisplayNamePath", "MinQuantity", "MaxQuantity", "HasChildren", "HasTransactionalAttributes", "IsRequired", "HasRequiredChildrenInHierarchy", "Valid", "Quantity", "Value", "State", "Selected", "SelectedChildren", "AvailableChildren", "InstanceName", "InstanceType" ]
    The name of the evaluated node property to retrieve.
  • The identifier assigned to the requested node property.
Nested Schema : ExecutionStep-oneOf[1]-oneOf[0]
Type: object
Show Source
Nested Schema : ExecutionStep-oneOf[1]-oneOf[1]
Type: object
Show Source
Nested Schema : ExecutionStep-oneOf[1]-oneOf[2]
Type: object
Show Source
Nested Schema : ExecutionStep-oneOf[1]-oneOf[3]
Type: object
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Configuration runtime request processed successfully.
Body ()
Root Schema : configurationRuntimeResponse
Type: object
Show Source
Nested Schema : ConfigurationResponse
Type: object
Show Source
Nested Schema : ConfigurationDetails
Type: object
Show Source
Nested Schema : ConfigurationState
Type: object
Show Source
  • The lifecycle state of the configuration, such as Finished or Error. Finish transitions a successfully persisted configuration to Finished.
  • Indicates whether the configuration is valid.
Nested Schema : customParameters
Type: array
Custom name-value pairs returned when their value is non-null.
Show Source
Nested Schema : header
Type: object
Additional Properties Allowed: true
Order or quote header information returned when its value is non-null.
Example:
{
    "CalculateTaxFlag":false,
    "CalculateShippingChargesFlag":false,
    "CalculatePricingChargesFlag":true,
    "PricingStrategyId":"300100071623888"
}
Nested Schema : messages
Type: array
The validation and processing messages returned for the configuration.
Show Source
Nested Schema : stepResults
Type: array
The results returned for the execution steps.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : Value
Match One Schema
Show Source
Nested Schema : Message
Type: object
A validation or processing finding returned for the configuration.
Show Source
  • The code that identifies the validation or processing finding.
  • The severity of the finding, such as ERROR, WARNING, or INFO.
  • The human-readable text of the validation or processing finding.
Nested Schema : StepResult
Type: object
Show Source
Nested Schema : nodePropertyResults
Type: array
The evaluated node property values returned by a query step.
Show Source
Nested Schema : ScalarValueType
A string, number, boolean, or null configuration value. SetValue uses this value for a transactional item attribute, Text Feature, Integer Feature, or Decimal Feature; queries use it for returned property values.
Match One Schema
Show Source
Nested Schema : NodeProperty
Type: object
Show Source
Examples

400 Response

Invalid input request.

401 Response

Authentication is required.

403 Response

The user is not authorized to perform this operation.

500 Response

An unexpected error occurred.
Back to Top