Process Configurator Sales Structure mutations

post

/fscmRestApi/scm/redwood/11.13.18.05/configuratorSalesStructure/{changeOrderNumber}/{modelKey}

Processes one or more CREATE, UPDATE, and DELETE operations in the specified order for Sales Structure components on a model. The model must first be added to a Commercial Change Order as an affected object. Results are returned in request order.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Additional Properties Allowed: true
Show Source
  • nodes
    Minimum Number of Items: 1
    Maximum Number of Items: 500
    Ordered node operations. Each processed operation has one result at the same zero-based position.
Nested Schema : nodes
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Ordered node operations. Each processed operation has one result at the same zero-based position.
Show Source
  • Discriminator: operation
    Discriminator: { "propertyName":"operation", "mapping":{ "CREATE":"#/components/schemas/SalesStructureCreateNode", "UPDATE":"#/components/schemas/SalesStructureUpdateNode", "DELETE":"#/components/schemas/SalesStructureDeleteNode" } }
    One ordered mutation operation. The operation discriminator selects the CREATE, UPDATE, or DELETE schema.
Nested Schema : Discriminator: operation
Type: object
Discriminator: operation

Discriminator Values

One ordered mutation operation. The operation discriminator selects the CREATE, UPDATE, or DELETE schema.
Match One Schema
Show Source
  • Discriminator: nodeType
    Discriminator: { "propertyName":"nodeType", "mapping":{ "CHOICE_GROUP":"#/components/schemas/SalesStructureChoiceGroupCreateNode", "CHOICE":"#/components/schemas/SalesStructureChoiceCreateNode", "INTEGER_NUMBER":"#/components/schemas/SalesStructureIntegerCreateNode", "DECIMAL_NUMBER":"#/components/schemas/SalesStructureDecimalCreateNode", "YES_NO":"#/components/schemas/SalesStructureYesNoCreateNode", "TEXT_ENTRY":"#/components/schemas/SalesStructureTextEntryCreateNode" } }
    Creates a node. nodeType selects its required and allowed fields. salesStructureId is generated by the server and must not be supplied. Configurator Attribute changes are atomic with the node.
  • Sparse update of an active node. Omitted fields remain unchanged. The alternatives describe fields supported by each node type. nodeType is optional; when omitted, the server uses the stored type. Common-field updates may match more than one alternative. The server rejects fields that do not belong to the stored type and rejects attempts to change nodeType. Deleted nodes cannot be updated. Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div>
  • DELETE operation
    Title: DELETE operation
    Soft-deletes a node. Repeated DELETE returns SUCCESS with disposition UNCHANGED. Deleting a Choice Group cascades to its Choices.
Nested Schema : Discriminator: nodeType
Type: object
Discriminator: nodeType

Discriminator Values

Creates a node. nodeType selects its required and allowed fields. salesStructureId is generated by the server and must not be supplied. Configurator Attribute changes are atomic with the node.
Match One Schema
Show Source
  • CREATE CHOICE_GROUP
    Title: CREATE CHOICE_GROUP
    maximumQuantity is required when enableChoiceQuantities is true. Place a new Choice Group CREATE before Choice creates referencing its name in parentName. They form one atomic dependency group. If initial parent validation fails, the parent result is FAILED and dependent Choices are SKIPPED with DEPENDENCY_FAILED. If subsequent group validation or persistence fails, the group is rolled back: one result reports the error and the other members report FAILED with GROUP_TRANSACTION_ROLLED_BACK. details.dependsOnRequestIndex identifies the related failure result. Other groups continue independently. A Choice Group DELETE cannot be combined with explicit CREATE, UPDATE, or DELETE operations on its Choices; CONFLICTING_OPERATIONS rejects the request before mutation processing.
  • CREATE CHOICE
    Title: CREATE CHOICE
  • CREATE INTEGER_NUMBER
    Title: CREATE INTEGER_NUMBER
    Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div>
  • CREATE DECIMAL_NUMBER
    Title: CREATE DECIMAL_NUMBER
    Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div>
  • CREATE YES_NO
    Title: CREATE YES_NO
  • CREATE TEXT_ENTRY
    Title: CREATE TEXT_ENTRY
Nested Schema : DELETE operation
Type: object
Title: DELETE operation
Soft-deletes a node. Repeated DELETE returns SUCCESS with disposition UNCHANGED. Deleting a Choice Group cascades to its Choices.
Show Source
Nested Schema : CREATE CHOICE_GROUP
Type: object
Title: CREATE CHOICE_GROUP
maximumQuantity is required when enableChoiceQuantities is true. Place a new Choice Group CREATE before Choice creates referencing its name in parentName. They form one atomic dependency group. If initial parent validation fails, the parent result is FAILED and dependent Choices are SKIPPED with DEPENDENCY_FAILED. If subsequent group validation or persistence fails, the group is rolled back: one result reports the error and the other members report FAILED with GROUP_TRANSACTION_ROLLED_BACK. details.dependsOnRequestIndex identifies the related failure result. Other groups continue independently. A Choice Group DELETE cannot be combined with explicit CREATE, UPDATE, or DELETE operations on its Choices; CONFLICTING_OPERATIONS rejects the request before mutation processing.
Show Source
Nested Schema : CREATE CHOICE
Type: object
Title: CREATE CHOICE
Show Source
Nested Schema : CREATE INTEGER_NUMBER
Type: object
Title: CREATE INTEGER_NUMBER
Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div> Show Source
  • configuratorAttributes
    Optional associations created atomically with the node. CREATE accepts UPSERT only.
  • Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div>
  • Numeric upper bound; negative values are allowed. minimum cannot exceed maximum. The effective default must remain within the inclusive bounds, including when only a bound is updated.
  • Numeric lower bound; negative values are allowed. minimum cannot exceed maximum. The effective default must remain within the inclusive bounds, including when only a bound is updated.
  • Minimum Length: 1
    Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group.
  • Allowed Values: [ "INTEGER_NUMBER" ]
  • Allowed Values: [ "CREATE" ]
  • Display order within the top-level set or a Choice Group's child set. Explicit null clears the sequence. GET omits sequence when it is null.
Nested Schema : CREATE DECIMAL_NUMBER
Type: object
Title: CREATE DECIMAL_NUMBER
Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div> Show Source
  • configuratorAttributes
    Optional associations created atomically with the node. CREATE accepts UPSERT only.
  • Integer and Decimal nodes accept negative minimum, maximum, and defaultValue values. The default must be within the inclusive effective range: minimum <= defaultvalue <="maximum." an update that supplies minimum or maximum also validates the stored default when is omitted. default_below_minimum default_above_maximum rejects operation if effective outside range. explicit defaultvalue: null clears default; omitted leaves it unchanged.< div>
  • Numeric upper bound; negative values are allowed. minimum cannot exceed maximum. The effective default must remain within the inclusive bounds, including when only a bound is updated.
  • Numeric lower bound; negative values are allowed. minimum cannot exceed maximum. The effective default must remain within the inclusive bounds, including when only a bound is updated.
  • Minimum Length: 1
    Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group.
  • Allowed Values: [ "DECIMAL_NUMBER" ]
  • Allowed Values: [ "CREATE" ]
  • Display order within the top-level set or a Choice Group's child set. Explicit null clears the sequence. GET omits sequence when it is null.
Nested Schema : CREATE YES_NO
Type: object
Title: CREATE YES_NO
Show Source
Nested Schema : CREATE TEXT_ENTRY
Type: object
Title: CREATE TEXT_ENTRY
Show Source
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Nested Schema : ConfiguratorAttributeUpsert
Type: object
Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Show Source
  • Public immutable Configurator Attribute identifier.
  • Minimum Length: 1
  • Allowed Values: [ "UPSERT" ]
  • ConfiguratorAttributeInputValue
    UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. Use integer JSON notation for numeric values: floating-point notation such as 1.0 is rejected. The value set validates the data type and numeric minimum, maximum, precision, and scale, or text length, minimum, maximum, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. Non-FORMAT value sets require a value-set value identifier that this request does not expose, so their associations cannot be UPSERTed through this endpoint. REMOVE deletes only the node association.
Nested Schema : ConfiguratorAttributeInputValue
UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. Use integer JSON notation for numeric values: floating-point notation such as 1.0 is rejected. The value set validates the data type and numeric minimum, maximum, precision, and scale, or text length, minimum, maximum, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. Non-FORMAT value sets require a value-set value identifier that this request does not expose, so their associations cannot be UPSERTed through this endpoint. REMOVE deletes only the node association.
Match One Schema
Show Source
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Nested Schema : configuratorAttributes
Type: array
Optional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
  • ConfiguratorAttributeUpsert
    Associates an existing Configurator Attribute definition or updates its node-specific value. Supply configuratorAttributeId, configuratorAttributeName, or both. Both identifiers must refer to the same active definition. UPSERT supports existing FORMAT (format-only) value sets with NUMBER or VARCHAR2 data types. Supply a non-null JSON integer for NUMBER, or a nonblank string for VARCHAR2; booleans are stored as text. The value set validates the data type and numeric minimum, maximum, or text length, uppercase, and numeric-text restrictions. Negative integers are accepted when the value-set restrictions permit them. REMOVE deletes only the node association.
Examples

Back to Top

Response

Supported Media Types
  • application/json

200 Response

All submitted operations completed successfully, or at least one independent operation succeeded. Inspect every result when status is PARTIAL_SUCCESS.
Body ()
Root Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

HTTP 200 batch response. At least one operation succeeded.
Match One Schema
Show Source
Nested Schema : MutationSuccessfulBatchResponse
Type: object
HTTP 200: every submitted operation succeeded.
Show Source
Nested Schema : MutationPartialSuccessResponse
Type: object
At least one operation succeeded and at least one failed. Dependent Choices may be skipped. Normally returned with HTTP 200; the current mixed-client-failure ordering can instead return HTTP 400.
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Show Source
  • Discriminator: disposition
    Discriminator: { "propertyName":"disposition", "mapping":{ "CREATED":"#/components/schemas/MutationCreatedResult", "UPDATED":"#/components/schemas/MutationUpdatedResult", "DELETED":"#/components/schemas/MutationDeletedResult", "UNCHANGED":"#/components/schemas/MutationUnchangedResult" } }
Nested Schema : MutationSuccessSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: disposition
Type: object
Discriminator: disposition

Discriminator Values

Match One Schema
Show Source
Nested Schema : MutationCreatedResult
Type: object
Show Source
Nested Schema : MutationUpdatedResult
Type: object
Show Source
Nested Schema : MutationDeletedResult
Type: object
Show Source
Nested Schema : MutationUnchangedResult
Type: object
Show Source
Nested Schema : deletedChildSalesStructureIds
Type: array
Minimum Number of Items: 1
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 2
Maximum Number of Items: 500
Show Source
  • Discriminator: status
    Discriminator: { "propertyName":"status", "mapping":{ "SUCCESS":"#/components/schemas/MutationSuccessResult", "FAILED":"#/components/schemas/MutationFailureResult", "SKIPPED":"#/components/schemas/MutationSkippedResult" } }
Match All
Show Source
Nested Schema : MutationPartialSuccessSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

Match One Schema
Show Source
Nested Schema : MutationFailureResult
Type: object
Show Source
Nested Schema : MutationSkippedResult
Type: object
Show Source
Nested Schema : NodeError
Type: object
Additional Properties Allowed: true
Show Source
  • Stable node-level validation or processing error code, including DEFAULT_BELOW_MINIMUM, DEFAULT_ABOVE_MAXIMUM, INVALID_DEFAULT_STATE, CONFIGURATOR_ATTRIBUTE_FIELDS_NOT_ALLOWED, PARENT_NOT_FOUND, and DELETED_SALES_STRUCTURE_NOT_UPDATABLE. DEPENDENCY_FAILED identifies an unattempted Choice after parent validation failed. GROUP_TRANSACTION_ROLLED_BACK identifies an operation rolled back with its dependency group.
  • details
    Additional Properties Allowed: true
Nested Schema : details
Type: object
Additional Properties Allowed: true
Show Source
  • Minimum Value: 0
    Zero-based index of the related failure result: the parent for DEPENDENCY_FAILED, or the result reporting the group error for GROUP_TRANSACTION_ROLLED_BACK.
Examples

400 Response

An invalid request, failed batch, or mixed client failures. The current ordered status scan can return HTTP 400 before reaching a later successful operation, producing PARTIAL_SUCCESS with committed successful results. Inspect status, summary, and results.
Body ()
Root Schema : MutationBadRequestResponse
HTTP 400: a failed batch, the current ordering-dependent partial-success case, or either request-wide failure shape.
Match One Schema
Show Source
Nested Schema : MutationFailedBatchResponse
Type: object
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
Nested Schema : RequestWideErrorResponse
Type: object
Show Source
Nested Schema : ServiceFallbackErrorResponse
Type: object
HTTP 400 fallback from the GET or POST service exception handler. Contains one UNEXPECTED_ERROR entry.
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Show Source
  • Discriminator: status
    Discriminator: { "propertyName":"status", "mapping":{ "FAILED":"#/components/schemas/MutationFailureResult", "SKIPPED":"#/components/schemas/MutationSkippedResult" } }
    An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Nested Schema : MutationFailureSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Match One Schema
Show Source
Nested Schema : MutationFailureResult
Type: object
Show Source
Nested Schema : MutationSkippedResult
Type: object
Show Source
Nested Schema : NodeError
Type: object
Additional Properties Allowed: true
Show Source
  • Stable node-level validation or processing error code, including DEFAULT_BELOW_MINIMUM, DEFAULT_ABOVE_MAXIMUM, INVALID_DEFAULT_STATE, CONFIGURATOR_ATTRIBUTE_FIELDS_NOT_ALLOWED, PARENT_NOT_FOUND, and DELETED_SALES_STRUCTURE_NOT_UPDATABLE. DEPENDENCY_FAILED identifies an unattempted Choice after parent validation failed. GROUP_TRANSACTION_ROLLED_BACK identifies an operation rolled back with its dependency group.
  • details
    Additional Properties Allowed: true
Nested Schema : details
Type: object
Additional Properties Allowed: true
Show Source
  • Minimum Value: 0
    Zero-based index of the related failure result: the parent for DEPENDENCY_FAILED, or the result reporting the group error for GROUP_TRANSACTION_ROLLED_BACK.
Nested Schema : RequestWideError
Type: object
Show Source
Nested Schema : errors
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 1
Show Source
Nested Schema : items
Type: object
Show Source
Examples

401 Response

Authentication is required.

403 Response

The caller is not authorized for the requested CCO or model.

404 Response

The path-scoped CCO or model could not be resolved, or every attempted operation failed because a referenced Sales Structure node, Choice parent, or Configurator Attribute was not found. A failed batch contains FAILED and possibly SKIPPED results.
Body ()
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
Nested Schema : MutationFailedBatchResponse
Type: object
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
Nested Schema : RequestWideErrorResponse
Type: object
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Show Source
  • Discriminator: status
    Discriminator: { "propertyName":"status", "mapping":{ "FAILED":"#/components/schemas/MutationFailureResult", "SKIPPED":"#/components/schemas/MutationSkippedResult" } }
    An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Nested Schema : MutationFailureSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Match One Schema
Show Source
Nested Schema : MutationFailureResult
Type: object
Show Source
Nested Schema : MutationSkippedResult
Type: object
Show Source
Nested Schema : NodeError
Type: object
Additional Properties Allowed: true
Show Source
  • Stable node-level validation or processing error code, including DEFAULT_BELOW_MINIMUM, DEFAULT_ABOVE_MAXIMUM, INVALID_DEFAULT_STATE, CONFIGURATOR_ATTRIBUTE_FIELDS_NOT_ALLOWED, PARENT_NOT_FOUND, and DELETED_SALES_STRUCTURE_NOT_UPDATABLE. DEPENDENCY_FAILED identifies an unattempted Choice after parent validation failed. GROUP_TRANSACTION_ROLLED_BACK identifies an operation rolled back with its dependency group.
  • details
    Additional Properties Allowed: true
Nested Schema : details
Type: object
Additional Properties Allowed: true
Show Source
  • Minimum Value: 0
    Zero-based index of the related failure result: the parent for DEPENDENCY_FAILED, or the result reporting the group error for GROUP_TRANSACTION_ROLLED_BACK.
Nested Schema : RequestWideError
Type: object
Show Source
Examples

409 Response

Every attempted operation conflicts with the current Sales Structure state, such as updating a soft-deleted node, or a request-wide state conflict prevented processing. No operation result is successful.
Body ()
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
Nested Schema : MutationFailedBatchResponse
Type: object
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
Nested Schema : RequestWideErrorResponse
Type: object
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Show Source
  • Discriminator: status
    Discriminator: { "propertyName":"status", "mapping":{ "FAILED":"#/components/schemas/MutationFailureResult", "SKIPPED":"#/components/schemas/MutationSkippedResult" } }
    An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Nested Schema : MutationFailureSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Match One Schema
Show Source
Nested Schema : MutationFailureResult
Type: object
Show Source
Nested Schema : MutationSkippedResult
Type: object
Show Source
Nested Schema : NodeError
Type: object
Additional Properties Allowed: true
Show Source
  • Stable node-level validation or processing error code, including DEFAULT_BELOW_MINIMUM, DEFAULT_ABOVE_MAXIMUM, INVALID_DEFAULT_STATE, CONFIGURATOR_ATTRIBUTE_FIELDS_NOT_ALLOWED, PARENT_NOT_FOUND, and DELETED_SALES_STRUCTURE_NOT_UPDATABLE. DEPENDENCY_FAILED identifies an unattempted Choice after parent validation failed. GROUP_TRANSACTION_ROLLED_BACK identifies an operation rolled back with its dependency group.
  • details
    Additional Properties Allowed: true
Nested Schema : details
Type: object
Additional Properties Allowed: true
Show Source
  • Minimum Value: 0
    Zero-based index of the related failure result: the parent for DEPENDENCY_FAILED, or the result reporting the group error for GROUP_TRANSACTION_ROLLED_BACK.
Nested Schema : RequestWideError
Type: object
Show Source
Examples

415 Response

Content-Type must be application/json.

500 Response

An unexpected error occurred.
Body ()
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
Nested Schema : MutationFailedBatchResponse
Type: object
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
Nested Schema : RequestWideErrorResponse
Type: object
Show Source
Nested Schema : results
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 500
Show Source
  • Discriminator: status
    Discriminator: { "propertyName":"status", "mapping":{ "FAILED":"#/components/schemas/MutationFailureResult", "SKIPPED":"#/components/schemas/MutationSkippedResult" } }
    An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Nested Schema : MutationFailureSummary
Type: object
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Show Source
Nested Schema : Discriminator: status
Type: object
Discriminator: status

Discriminator Values

An attempted operation that failed, or a dependent Choice skipped after its parent failed.
Match One Schema
Show Source
Nested Schema : MutationFailureResult
Type: object
Show Source
Nested Schema : MutationSkippedResult
Type: object
Show Source
Nested Schema : NodeError
Type: object
Additional Properties Allowed: true
Show Source
  • Stable node-level validation or processing error code, including DEFAULT_BELOW_MINIMUM, DEFAULT_ABOVE_MAXIMUM, INVALID_DEFAULT_STATE, CONFIGURATOR_ATTRIBUTE_FIELDS_NOT_ALLOWED, PARENT_NOT_FOUND, and DELETED_SALES_STRUCTURE_NOT_UPDATABLE. DEPENDENCY_FAILED identifies an unattempted Choice after parent validation failed. GROUP_TRANSACTION_ROLLED_BACK identifies an operation rolled back with its dependency group.
  • details
    Additional Properties Allowed: true
Nested Schema : details
Type: object
Additional Properties Allowed: true
Show Source
  • Minimum Value: 0
    Zero-based index of the related failure result: the parent for DEPENDENCY_FAILED, or the result reporting the group error for GROUP_TRANSACTION_ROLLED_BACK.
Nested Schema : RequestWideError
Type: object
Show Source
Back to Top