DTO to create or update a quoteOffer
| name | data type | constraints | description |
|---|---|---|---|
| id | number | The id. | |
| auditableField | array of AuditableFieldDto | ||
| code | string | required | The code |
| description | string | The description | |
| updatedCode | string | The updated code. | |
| quoteOfferId | number | ||
| quoteCode | string | ||
| quoteVersion | number | required | |
| quoteLotCode | string | ||
| offerId | number | required | |
| offerCode | string | ||
| billableAccountCode | string | ||
| contractCode | string | ||
| products | array of QuoteProductDTO | ||
| offerAttributes | array of QuoteAttributeDTO | ||
| customFields | CustomFieldsDto | ||
| discountPlanCode | string | Discount plan code | |
| prices | array of TaxPricesDto | List of quote prices | |
| sequence | number | Discount plan code | |
| deliveryDate | number | Delivery date | |
| userAccountCode | string | User account | |
| quoteLineType | OfferLineTypeEnum | Quote line type | |
| subscriptionCode | string | Subscription |
Example
{
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ {
"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" : { },
"booleanValue" : true
}, {
"quoteAttributeId" : 12345,
"quoteAttributeType" : "...",
"quoteAttributeCode" : "...",
"linkedQuoteAttribute" : [ { }, { } ],
"stringValue" : "...",
"doubleValue" : 12345.0,
"dateValue" : 12345,
"customFields" : { },
"booleanValue" : true
} ],
"accountingArticlePrices" : [ {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ { }, { } ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
}, {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ { }, { } ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
} ],
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"deliveryDate" : 12345,
"terminationDate" : 12345,
"terminationReasonCode" : "...",
"actionType" : "TERMINATE"
}, {
"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" : { },
"booleanValue" : true
}, {
"quoteAttributeId" : 12345,
"quoteAttributeType" : "...",
"quoteAttributeCode" : "...",
"linkedQuoteAttribute" : [ { }, { } ],
"stringValue" : "...",
"doubleValue" : 12345.0,
"dateValue" : 12345,
"customFields" : { },
"booleanValue" : true
} ],
"accountingArticlePrices" : [ {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ { }, { } ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
}, {
"accountingArticleCode" : "...",
"accountingArticleLabel" : "...",
"accountingArticlePrices" : [ { }, { } ],
"discountPlanItemCode" : "...",
"discountValue" : "..."
} ],
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"deliveryDate" : 12345,
"terminationDate" : 12345,
"terminationReasonCode" : "...",
"actionType" : "MODIFY"
} ],
"offerAttributes" : [ {
"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
} ],
"customFields" : {
"customField" : [ {
"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" : "INDEX_NOT_ANALYZE",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
}, {
"code" : "...",
"description" : "...",
"fieldType" : "ENTITY",
"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" : "..."
} ],
"inheritedCustomField" : [ {
"code" : "...",
"description" : "...",
"fieldType" : "CHILD_ENTITY",
"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" : "CHILD_ENTITY",
"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",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
} ]
},
"discountPlanCode" : "...",
"prices" : [ {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ {
"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" : { }
}, {
"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" : "FIXED",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
} ]
}, {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ {
"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" : "FIXED",
"discountPlanItemCode" : "...",
"applyDiscountsOnOverridenPrice" : true,
"overchargedUnitAmountWithoutTax" : 12345.0,
"discountedAmount" : 12345.0,
"sequence" : 12345,
"id" : 12345,
"customFields" : { }
}, {
"priceType" : "FIXED_DISCOUNT",
"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" : { }
} ]
} ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "TERMINATE",
"subscriptionCode" : "..."
}