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
-
changeOrderNumber(required): string
The Commercial Change Order number that scopes the request to one CCO.
-
modelKey(required): string
The PIM inventory item identifier of the Configurator model.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectAdditional Properties Allowed:
Show Source
true-
nodes(required): array
nodes
Minimum Number of Items:
1Maximum Number of Items:500Ordered node operations. Each processed operation has one result at the same zero-based position.
Nested Schema : nodes
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
500Ordered node operations. Each processed operation has one result at the same zero-based position.
Show Source
-
Array of:
object 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:
objectDiscriminator: operation
Discriminator Values
One ordered mutation operation. The operation discriminator selects the CREATE, UPDATE, or DELETE schema.
Match One Schema
Show Source
-
object
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 -
object
DELETE operation
Title:
DELETE operationSoft-deletes a node. Repeated DELETE returns SUCCESS with disposition UNCHANGED. Deleting a Choice Group cascades to its Choices.
Nested Schema : Discriminator: nodeType
Type:
objectDiscriminator: 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
-
CHOICE_GROUP -
object
CREATE CHOICE_GROUP
Title:
CREATE CHOICE_GROUPmaximumQuantity 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. -
CHOICE -
object
CREATE CHOICE
Title:
CREATE CHOICE -
INTEGER_NUMBER -
object
CREATE INTEGER_NUMBER
Title:
CREATE INTEGER_NUMBERInteger 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> => -
DECIMAL_NUMBER -
object
CREATE DECIMAL_NUMBER
Title:
CREATE DECIMAL_NUMBERInteger 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> => -
YES_NO -
object
CREATE YES_NO
Title:
CREATE YES_NO -
TEXT_ENTRY -
object
CREATE TEXT_ENTRY
Title:
CREATE TEXT_ENTRY
Nested Schema : DELETE operation
Type:
objectTitle:
DELETE operationSoft-deletes a node. Repeated DELETE returns SUCCESS with disposition UNCHANGED. Deleting a Choice Group cascades to its Choices.
Show Source
-
operation(required): string
Allowed Values:
[ "DELETE" ] -
salesStructureId(required): string
Public persistent Sales Structure identifier.
Nested Schema : CREATE CHOICE_GROUP
Type:
objectTitle:
CREATE CHOICE_GROUPmaximumQuantity 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
-
configuratorAttributes: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultChoiceName: string
Choice Group default Choice name. It must identify an active Choice under this Choice Group and may name a Choice created in the same dependency group.
-
defaultChoiceSalesStructureId: string
Public persistent Sales Structure identifier.
-
description: string
-
enableChoiceQuantities: boolean
-
makeRequired: boolean
-
maximumQuantity: integer
Minimum Value:
0Required when enableChoiceQuantities is true. -
maximumSelections: integer
Minimum Value:
0 -
minimumSelections(required): integer
Minimum Value:
0 -
name(required): string
Minimum Length:
1Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group. -
nodeType(required): string
Allowed Values:
[ "CHOICE_GROUP" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
sequence: number
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.
-
sortBy: string
Allowed Values:
[ "Sales structure order", "Name ascending", "Name descending", "Description ascending", "Description descending" ]Choice Group sort mode.
Nested Schema : CREATE CHOICE
Type:
objectTitle:
Show Source
CREATE CHOICE-
configuratorAttributes: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultQuantity: number
Minimum Value:
0Nonnegative Choice default quantity -
description: string
-
name(required): string
Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group.
-
nodeType(required): string
Allowed Values:
[ "CHOICE" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
parentName(required): string
Required for Choice. Names an active Choice Group or a Choice Group created earlier in this request.
-
sequence: number
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 INTEGER_NUMBER
Type:
objectTitle:
CREATE INTEGER_NUMBERInteger 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: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultValue: 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> =>
-
description: string
-
makeRequired: boolean
-
maximum(required): number
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.
-
minimum(required): number
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.
-
name(required): string
Minimum Length:
1Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group. -
nodeType(required): string
Allowed Values:
[ "INTEGER_NUMBER" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
sequence: number
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:
objectTitle:
CREATE DECIMAL_NUMBERInteger 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: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultValue: 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> =>
-
description: string
-
makeRequired: boolean
-
maximum(required): number
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.
-
minimum(required): number
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.
-
name(required): string
Minimum Length:
1Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group. -
nodeType(required): string
Allowed Values:
[ "DECIMAL_NUMBER" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
sequence: number
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:
objectTitle:
Show Source
CREATE YES_NO-
configuratorAttributes: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultState: string
Allowed Values:
[ "YES", "NO", null ]Send YES, NO, or explicit null. Explicit null clears the stored default. Other values are rejected. A GET returns NO when the stored Yes/No default is null. -
description: string
-
makeRequired: boolean
-
name(required): string
Minimum Length:
1Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group. -
nodeType(required): string
Allowed Values:
[ "YES_NO" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
sequence: number
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 TEXT_ENTRY
Type:
objectTitle:
Show Source
CREATE TEXT_ENTRY-
configuratorAttributes: array
configuratorAttributes
Optional associations created atomically with the node. CREATE accepts UPSERT only.
-
defaultValue: string
Text Entry default. Its length cannot exceed the effective maximumLength. Explicit null clears the default.
-
description: string
-
makeRequired: boolean
-
maximumLength(required): integer
Minimum Value:
1 -
name(required): string
Minimum Length:
1Model-scoped unique name for top-level nodes; Choice name is unique within its parent Choice Group. -
nodeType(required): string
Allowed Values:
[ "TEXT_ENTRY" ] -
operation(required): string
Allowed Values:
[ "CREATE" ] -
sequence: number
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 : configuratorAttributes
Type:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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:
objectAssociates 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
-
configuratorAttributeId: string
Public immutable Configurator Attribute identifier.
-
configuratorAttributeName: string
Minimum Length:
1 -
operation(required): string
Allowed Values:
[ "UPSERT" ] -
value(required):
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:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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:
arrayOptional associations created atomically with the node. CREATE accepts UPSERT only.
Show Source
-
Array of:
object 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.
Root Schema : Discriminator: status
Type:
objectDiscriminator: status
Discriminator Values
HTTP 200 batch response. At least one operation succeeded.
Match One Schema
Show Source
-
SUCCESS -
object
MutationSuccessfulBatchResponse
HTTP 200: every submitted operation succeeded.
-
PARTIAL_SUCCESS -
object
MutationPartialSuccessResponse
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.
Nested Schema : MutationSuccessfulBatchResponse
Type:
objectHTTP 200: every submitted operation succeeded.
Show Source
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
1Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "SUCCESS" ] -
summary(required): object
MutationSuccessSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : MutationPartialSuccessResponse
Type:
objectAt 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
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
2Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "PARTIAL_SUCCESS" ] -
summary(required): object
MutationPartialSuccessSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : results
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Allowed Values:
[ 0 ] -
skipped(required): integer
Allowed Values:
[ 0 ] -
submitted(required): integer
Minimum Value:
1Maximum Value:500 -
succeeded(required): integer
Minimum Value:
1Maximum Value:500
Nested Schema : Discriminator: disposition
Type:
objectDiscriminator: disposition
Discriminator Values
Match One Schema
Show Source
Nested Schema : MutationCreatedResult
Type:
Show Source
object-
disposition(required): string
Allowed Values:
[ "CREATED" ] -
name(required): string
-
nodeType(required): string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
parentSalesStructureId: string
Public persistent Sales Structure identifier.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId(required): string
Public persistent Sales Structure identifier.
-
status(required): string
Allowed Values:
[ "SUCCESS" ]
Nested Schema : MutationUpdatedResult
Type:
Show Source
object-
disposition(required): string
Allowed Values:
[ "UPDATED" ] -
name(required): string
-
nodeType(required): string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
parentSalesStructureId: string
Public persistent Sales Structure identifier.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId(required): string
Public persistent Sales Structure identifier.
-
status(required): string
Allowed Values:
[ "SUCCESS" ]
Nested Schema : MutationDeletedResult
Type:
Show Source
object-
defaultChoiceCleared: boolean
Allowed Values:
[ true ] -
deletedChildSalesStructureIds: array
deletedChildSalesStructureIds
Minimum Number of Items:
1 -
deletedFlag(required): boolean
Allowed Values:
[ true ] -
disposition(required): string
Allowed Values:
[ "DELETED" ] -
editable(required): boolean
Allowed Values:
[ false ] -
name(required): string
-
nodeType(required): string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
parentSalesStructureId: string
Public persistent Sales Structure identifier.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId(required): string
Public persistent Sales Structure identifier.
-
status(required): string
Allowed Values:
[ "SUCCESS" ]
Nested Schema : MutationUnchangedResult
Type:
Show Source
object-
deletedFlag(required): boolean
Allowed Values:
[ true ] -
disposition(required): string
Allowed Values:
[ "UNCHANGED" ] -
editable(required): boolean
Allowed Values:
[ false ] -
name(required): string
-
nodeType(required): string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
parentSalesStructureId: string
Public persistent Sales Structure identifier.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId(required): string
Public persistent Sales Structure identifier.
-
status(required): string
Allowed Values:
[ "SUCCESS" ]
Nested Schema : deletedChildSalesStructureIds
Type:
arrayMinimum Number of Items:
Show Source
1-
Array of:
string
Public persistent Sales Structure identifier.
Nested Schema : results
Type:
arrayMinimum Number of Items:
2Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Minimum Value:
1Maximum Value:500 -
skipped(required): integer
Minimum Value:
0Maximum Value:500 -
submitted(required): integer
Minimum Value:
2Maximum Value:500 -
succeeded(required): integer
Minimum Value:
1Maximum Value:500
Nested Schema : Discriminator: status
Type:
objectDiscriminator: status
Discriminator Values
Match One Schema
Show Source
-
object
Discriminator: disposition
Discriminator:
{ "propertyName":"disposition", "mapping":{ "CREATED":"#/components/schemas/MutationCreatedResult", "UPDATED":"#/components/schemas/MutationUpdatedResult", "DELETED":"#/components/schemas/MutationDeletedResult", "UNCHANGED":"#/components/schemas/MutationUnchangedResult" } } -
FAILED -
object
MutationFailureResult
-
SKIPPED -
object
MutationSkippedResult
Nested Schema : MutationFailureResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Submitted node type, when present; it may be unsupported.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId: string
Submitted identifier, when present; it may be invalid or blank.
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : MutationSkippedResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
requestIndex(required): integer
Minimum Value:
0 -
status(required): string
Allowed Values:
[ "SKIPPED" ]
Nested Schema : NodeError
Type:
objectAdditional Properties Allowed:
Show Source
true-
code(required): string
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: object
details
Additional Properties Allowed:
true -
field: string
-
message(required): string
Nested Schema : details
Type:
objectAdditional Properties Allowed:
Show Source
true-
dependsOnRequestIndex: integer
Minimum Value:
0Zero-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.
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
-
object
MutationFailedBatchResponse
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
-
object
RequestWideErrorResponse
-
object
ServiceFallbackErrorResponse
HTTP 400 fallback from the GET or POST service exception handler. Contains one UNEXPECTED_ERROR entry.
Nested Schema : MutationFailedBatchResponse
Type:
objectA processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
1Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "FAILED" ] -
summary(required): object
MutationFailureSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : RequestWideErrorResponse
Type:
Show Source
object-
error(required): object
RequestWideError
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : ServiceFallbackErrorResponse
Type:
objectHTTP 400 fallback from the GET or POST service exception handler. Contains one UNEXPECTED_ERROR entry.
Show Source
-
errors(required): array
errors
Minimum Number of Items:
1Maximum Number of Items:1 -
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : results
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Minimum Value:
1Maximum Value:500 -
skipped(required): integer
Minimum Value:
0Maximum Value:500 -
submitted(required): integer
Minimum Value:
1Maximum Value:500 -
succeeded(required): integer
Allowed Values:
[ 0 ]
Nested Schema : Discriminator: status
Type:
objectDiscriminator: 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:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Submitted node type, when present; it may be unsupported.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId: string
Submitted identifier, when present; it may be invalid or blank.
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : MutationSkippedResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
requestIndex(required): integer
Minimum Value:
0 -
status(required): string
Allowed Values:
[ "SKIPPED" ]
Nested Schema : NodeError
Type:
objectAdditional Properties Allowed:
Show Source
true-
code(required): string
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: object
details
Additional Properties Allowed:
true -
field: string
-
message(required): string
Nested Schema : details
Type:
objectAdditional Properties Allowed:
Show Source
true-
dependsOnRequestIndex: integer
Minimum Value:
0Zero-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:
Show Source
object-
code(required): string
Request-wide error code. CONFLICTING_OPERATIONS rejects a Choice Group DELETE combined with explicit operations on its Choices before any mutation group is processed.
-
message(required): string
Nested Schema : errors
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
1Nested Schema : items
Type:
Show Source
object-
code(required): string
Allowed Values:
[ "UNEXPECTED_ERROR" ] -
message(required): string
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.
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
-
object
MutationFailedBatchResponse
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
-
object
RequestWideErrorResponse
Nested Schema : MutationFailedBatchResponse
Type:
objectA processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
1Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "FAILED" ] -
summary(required): object
MutationFailureSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : RequestWideErrorResponse
Type:
Show Source
object-
error(required): object
RequestWideError
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : results
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Minimum Value:
1Maximum Value:500 -
skipped(required): integer
Minimum Value:
0Maximum Value:500 -
submitted(required): integer
Minimum Value:
1Maximum Value:500 -
succeeded(required): integer
Allowed Values:
[ 0 ]
Nested Schema : Discriminator: status
Type:
objectDiscriminator: 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:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Submitted node type, when present; it may be unsupported.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId: string
Submitted identifier, when present; it may be invalid or blank.
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : MutationSkippedResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
requestIndex(required): integer
Minimum Value:
0 -
status(required): string
Allowed Values:
[ "SKIPPED" ]
Nested Schema : NodeError
Type:
objectAdditional Properties Allowed:
Show Source
true-
code(required): string
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: object
details
Additional Properties Allowed:
true -
field: string
-
message(required): string
Nested Schema : details
Type:
objectAdditional Properties Allowed:
Show Source
true-
dependsOnRequestIndex: integer
Minimum Value:
0Zero-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:
Show Source
object-
code(required): string
Request-wide error code. CONFLICTING_OPERATIONS rejects a Choice Group DELETE combined with explicit operations on its Choices before any mutation group is processed.
-
message(required): string
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.
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
-
object
MutationFailedBatchResponse
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
-
object
RequestWideErrorResponse
Nested Schema : MutationFailedBatchResponse
Type:
objectA processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
1Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "FAILED" ] -
summary(required): object
MutationFailureSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : RequestWideErrorResponse
Type:
Show Source
object-
error(required): object
RequestWideError
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : results
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Minimum Value:
1Maximum Value:500 -
skipped(required): integer
Minimum Value:
0Maximum Value:500 -
submitted(required): integer
Minimum Value:
1Maximum Value:500 -
succeeded(required): integer
Allowed Values:
[ 0 ]
Nested Schema : Discriminator: status
Type:
objectDiscriminator: 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:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Submitted node type, when present; it may be unsupported.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId: string
Submitted identifier, when present; it may be invalid or blank.
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : MutationSkippedResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
requestIndex(required): integer
Minimum Value:
0 -
status(required): string
Allowed Values:
[ "SKIPPED" ]
Nested Schema : NodeError
Type:
objectAdditional Properties Allowed:
Show Source
true-
code(required): string
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: object
details
Additional Properties Allowed:
true -
field: string
-
message(required): string
Nested Schema : details
Type:
objectAdditional Properties Allowed:
Show Source
true-
dependsOnRequestIndex: integer
Minimum Value:
0Zero-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:
Show Source
object-
code(required): string
Request-wide error code. CONFLICTING_OPERATIONS rejects a Choice Group DELETE combined with explicit operations on its Choices before any mutation group is processed.
-
message(required): string
Examples
415 Response
Content-Type must be application/json.
500 Response
An unexpected error occurred.
Root Schema : MutationOrRequestWideErrorResponse
A processed batch with no successful operations, or a request-wide failure. Both have status FAILED.
Match One Schema
Show Source
-
object
MutationFailedBatchResponse
A processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
-
object
RequestWideErrorResponse
Nested Schema : MutationFailedBatchResponse
Type:
objectA processed batch with no successful operations. Results contain only FAILED or SKIPPED outcomes.
Show Source
-
changeOrderNumber(required): string
-
modelKey(required): string
-
results(required): array
results
Minimum Number of Items:
1Maximum Number of Items:500 -
status(required): string
Allowed Values:
[ "FAILED" ] -
summary(required): object
MutationFailureSummary
Counts of submitted operations and their results. submitted equals results.length and succeeded + failed + skipped. These cross-field equalities are enforced by the service.
Nested Schema : RequestWideErrorResponse
Type:
Show Source
object-
error(required): object
RequestWideError
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : results
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
500-
Array of:
object 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:
objectCounts 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
-
failed(required): integer
Minimum Value:
1Maximum Value:500 -
skipped(required): integer
Minimum Value:
0Maximum Value:500 -
submitted(required): integer
Minimum Value:
1Maximum Value:500 -
succeeded(required): integer
Allowed Values:
[ 0 ]
Nested Schema : Discriminator: status
Type:
objectDiscriminator: 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:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Submitted node type, when present; it may be unsupported.
-
requestIndex(required): integer
Minimum Value:
0 -
salesStructureId: string
Submitted identifier, when present; it may be invalid or blank.
-
status(required): string
Allowed Values:
[ "FAILED" ]
Nested Schema : MutationSkippedResult
Type:
Show Source
object-
error(required): object
NodeError
Additional Properties Allowed:
true -
name: string
-
nodeType: string
Allowed Values:
[ "CHOICE_GROUP", "CHOICE", "INTEGER_NUMBER", "DECIMAL_NUMBER", "YES_NO", "TEXT_ENTRY" ] -
parentName: string
-
requestIndex(required): integer
Minimum Value:
0 -
status(required): string
Allowed Values:
[ "SKIPPED" ]
Nested Schema : NodeError
Type:
objectAdditional Properties Allowed:
Show Source
true-
code(required): string
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: object
details
Additional Properties Allowed:
true -
field: string
-
message(required): string
Nested Schema : details
Type:
objectAdditional Properties Allowed:
Show Source
true-
dependsOnRequestIndex: integer
Minimum Value:
0Zero-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:
Show Source
object-
code(required): string
Request-wide error code. CONFLICTING_OPERATIONS rejects a Choice Group DELETE combined with explicit operations on its Choices before any mutation group is processed.
-
message(required): string