DTO to create or update a quote
name | data type | constraints | description |
---|---|---|---|
quoteVersion | QuoteVersionDto | ||
pdfFilename | string | ||
quoteDate | number | ||
id | number | The id. | |
validity | DatePeriod | ||
auditableField | array of AuditableFieldDto | ||
status | string | ||
code | string | required | The code |
description | string | The description | |
applicantAccountCode | string | required | |
updatedCode | string | The updated code. | |
billableAccountCode | string | ||
deliveryDate | number | ||
quoteLotDuration | number | ||
opportunityRef | string | ||
sellerCode | string | ||
sendDate | number | ||
quoteNumber | string | ||
externalId | string | ||
statusDate | number | ||
userAccountCode | string | ||
salesPersonName | string |
Example
{ "quoteVersion" : { "shortDescription" : "...", "quoteCode" : "...", "currentVersion" : 12345, "status" : "CLOSED", "statusDate" : 12345, "startDate" : 12345, "endDate" : 12345, "billingPlanCode" : "...", "discountPlanCode" : "...", "contractCode" : "...", "mediaCodes" : [ "...", "..." ], "comment" : "...", "customFields" : { "customField" : [ { }, { } ], "inheritedCustomField" : [ { }, { } ] } }, "pdfFilename" : "...", "quoteDate" : 12345, "id" : 12345, "validity" : { "from" : 12345, "to" : 12345, "valid" : true, "empty" : true, "strictMatch" : true, "fromMatch" : 12345, "toMatch" : 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" : "..." } ], "status" : "...", "code" : "...", "description" : "...", "applicantAccountCode" : "...", "updatedCode" : "...", "billableAccountCode" : "...", "deliveryDate" : 12345, "quoteLotDuration" : 12345, "opportunityRef" : "...", "sellerCode" : "...", "sendDate" : 12345, "quoteNumber" : "...", "externalId" : "...", "statusDate" : 12345, "userAccountCode" : "...", "salesPersonName" : "..." }