All the Opencell API web service response must extend this class.
| name | data type | description |
|---|---|---|
| quoteDto | BaseQuoteDTO | Quote data |
| currentVersion | GetQuoteVersionDtoResponse | |
| allQuoteVersions | array of GetQuoteVersionDtoResponse | |
| actionStatus | ActionStatus | The status response of the web service response. |
Example
{
"quoteDto" : {
"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" : "..."
},
"currentVersion" : {
"quoteItems" : [ {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "CREATE",
"subscriptionCode" : "..."
}, {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "CREATE",
"subscriptionCode" : "..."
} ],
"shortDescription" : "...",
"prices" : [ {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
}, {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
} ],
"actionStatus" : {
"status" : "WARNING",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
},
"quoteCode" : "...",
"currentVersion" : 12345,
"status" : "CLOSED",
"statusDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"billingPlanCode" : "...",
"discountPlanCode" : "...",
"contractCode" : "...",
"mediaCodes" : [ "...", "..." ],
"comment" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
}
},
"allQuoteVersions" : [ {
"quoteItems" : [ {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "AMEND",
"subscriptionCode" : "..."
}, {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "CREATE",
"subscriptionCode" : "..."
} ],
"shortDescription" : "...",
"prices" : [ {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
}, {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
} ],
"actionStatus" : {
"status" : "SUCCESS",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
},
"quoteCode" : "...",
"currentVersion" : 12345,
"status" : "DRAFT",
"statusDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"billingPlanCode" : "...",
"discountPlanCode" : "...",
"contractCode" : "...",
"mediaCodes" : [ "...", "..." ],
"comment" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
}
}, {
"quoteItems" : [ {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "CREATE",
"subscriptionCode" : "..."
}, {
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "...",
"quoteOfferId" : 12345,
"quoteCode" : "...",
"quoteVersion" : 12345,
"quoteLotCode" : "...",
"offerId" : 12345,
"offerCode" : "...",
"billableAccountCode" : "...",
"contractCode" : "...",
"products" : [ { }, { } ],
"offerAttributes" : [ { }, { } ],
"customFields" : { },
"discountPlanCode" : "...",
"prices" : [ { }, { } ],
"sequence" : 12345,
"deliveryDate" : 12345,
"userAccountCode" : "...",
"quoteLineType" : "AMEND",
"subscriptionCode" : "..."
} ],
"shortDescription" : "...",
"prices" : [ {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
}, {
"taxRate" : 12345.0,
"unitPriceAmountWithoutTax" : 12345.0,
"prices" : [ { }, { } ]
} ],
"actionStatus" : {
"status" : "FAIL",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
},
"quoteCode" : "...",
"currentVersion" : 12345,
"status" : "CLOSED",
"statusDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"billingPlanCode" : "...",
"discountPlanCode" : "...",
"contractCode" : "...",
"mediaCodes" : [ "...", "..." ],
"comment" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
}
} ],
"actionStatus" : {
"status" : "SUCCESS",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
}
}