DTO to create or update a quoteProduct
| name | data type | constraints | description |
|---|---|---|---|
| quoteProductId | number | ||
| quoteCode | string | required | |
| productCode | string | required | |
| quoteVersion | number | required | |
| productVersion | number | required | |
| quantity | number | required | |
| discountPlanCode | string | Discount plan code | |
| productAttributes | array of QuoteAttributeDTO | ||
| accountingArticlePrices | array of AccountingArticlePricesDTO | ||
| customFields | CustomFieldsDto | ||
| deliveryDate | number | ||
| terminationDate | number | ||
| terminationReasonCode | string | ||
| actionType | ProductActionTypeEnum |
Example
{
"quoteProductId" : 12345,
"quoteCode" : "...",
"productCode" : "...",
"quoteVersion" : 12345,
"productVersion" : 12345,
"quantity" : 12345.0,
"discountPlanCode" : "...",
"productAttributes" : [ {
"quoteAttributeId" : 12345,
"quoteAttributeType" : "...",
"quoteAttributeCode" : "...",
"linkedQuoteAttribute" : [ { }, { } ],
"stringValue" : "...",
"doubleValue" : 12345.0,
"dateValue" : 12345,
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"booleanValue" : true
}, {
"quoteAttributeId" : 12345,
"quoteAttributeType" : "...",
"quoteAttributeCode" : "...",
"linkedQuoteAttribute" : [ { }, { } ],
"stringValue" : "...",
"doubleValue" : 12345.0,
"dateValue" : 12345,
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"booleanValue" : true
} ],
"accountingArticlePrices" : [ {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ {
"priceType" : "ONE_SHOT_TERMINATION",
"amountWithTax" : 12345.0,
"unitPriceWithoutTax" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountWithoutTaxWithoutDiscount" : 12345.0,
"taxAmount" : 12345.0,
"taxRate" : 12345.0,
"priceOverCharged" : true,
"currencyCode" : "...",
"currencySymbol" : "...",
"recurrenceDuration" : 12345,
"recurrencePeriodicity" : "...",
"chargeCode" : "...",
"chargeLabel" : "...",
"taxCategory" : "...",
"taxCode" : "...",
"quantity" : 12345.0,
"discountedQuotePrice" : { },
"unitMultiplicator" : 12345.0,
"discountValue" : 12345.0,
"discountPlanType" : "PERCENTAGE",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
}, {
"priceType" : "ONE_SHOT_OTHER",
"amountWithTax" : 12345.0,
"unitPriceWithoutTax" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountWithoutTaxWithoutDiscount" : 12345.0,
"taxAmount" : 12345.0,
"taxRate" : 12345.0,
"priceOverCharged" : true,
"currencyCode" : "...",
"currencySymbol" : "...",
"recurrenceDuration" : 12345,
"recurrencePeriodicity" : "...",
"chargeCode" : "...",
"chargeLabel" : "...",
"taxCategory" : "...",
"taxCode" : "...",
"quantity" : 12345.0,
"discountedQuotePrice" : { },
"unitMultiplicator" : 12345.0,
"discountValue" : 12345.0,
"discountPlanType" : "FIXED",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
} ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
}, {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ {
"priceType" : "RECURRING",
"amountWithTax" : 12345.0,
"unitPriceWithoutTax" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountWithoutTaxWithoutDiscount" : 12345.0,
"taxAmount" : 12345.0,
"taxRate" : 12345.0,
"priceOverCharged" : true,
"currencyCode" : "...",
"currencySymbol" : "...",
"recurrenceDuration" : 12345,
"recurrencePeriodicity" : "...",
"chargeCode" : "...",
"chargeLabel" : "...",
"taxCategory" : "...",
"taxCode" : "...",
"quantity" : 12345.0,
"discountedQuotePrice" : { },
"unitMultiplicator" : 12345.0,
"discountValue" : 12345.0,
"discountPlanType" : "PERCENTAGE",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
}, {
"priceType" : "USAGE",
"amountWithTax" : 12345.0,
"unitPriceWithoutTax" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountWithoutTaxWithoutDiscount" : 12345.0,
"taxAmount" : 12345.0,
"taxRate" : 12345.0,
"priceOverCharged" : true,
"currencyCode" : "...",
"currencySymbol" : "...",
"recurrenceDuration" : 12345,
"recurrencePeriodicity" : "...",
"chargeCode" : "...",
"chargeLabel" : "...",
"taxCategory" : "...",
"taxCode" : "...",
"quantity" : 12345.0,
"discountedQuotePrice" : { },
"unitMultiplicator" : 12345.0,
"discountValue" : 12345.0,
"discountPlanType" : "FIXED",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
} ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
} ],
"customFields" : {
"customField" : [ {
"code" : "...",
"description" : "...",
"fieldType" : "BOOLEAN",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "INDEX_NOT_ANALYZE",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
}, {
"code" : "...",
"description" : "...",
"fieldType" : "URL",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "STORE_ONLY",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
} ],
"inheritedCustomField" : [ {
"code" : "...",
"description" : "...",
"fieldType" : "LIST",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "INDEX_NOT_ANALYZE",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
}, {
"code" : "...",
"description" : "...",
"fieldType" : "CUSTOM_TABLE_WRAPPER",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "STORE_ONLY",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
} ]
},
"deliveryDate" : 12345,
"terminationDate" : 12345,
"terminationReasonCode" : "...",
"actionType" : "SUSPEND"
}