Creates a new revision of the quote.
Required Permission | Roles with the Required Permission |
---|---|
QUOTE_UPDATE | Edit Quoting (PRICESHOP_EDIT ), Administer Quoting (PRICESHOP_QUOTEADMIN ), Manage Quoting (PRICESHOP ) |
Example response
{- "response": {
- "node": "e2e-templates-node",
- "data": [
- {
- "version": 5,
- "typedId": "2147491345.Q",
- "uniqueName": "P-2147491340-REV-3",
- "label": "Quote01",
- "targetDate": "2021-11-01",
- "workflowStatus": "NO_APPROVAL_REQUIRED",
- "headerText": "<p>Quote message.</p>",
- "inputs": [
- {
- "name": "Customer",
- "label": "Customer",
- "lookupTableId": null,
- "url": "/fetch/C/",
- "type": "CUSTOMER",
- "value": "00003",
- "valueHint": "Kate Smith",
- "readOnly": null,
- "filter": null,
- "parameterGroup": null,
- "required": null,
- "labelTranslations": null,
- "addUnknownValues": null,
- "typedId": null,
- "alwaysEditable": null,
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { },
- "valueOptions": null
}
], - "viewState": {
- "gridViewState": null,
- "openFolders": null,
- "selectedNodes": [
- "0pnOfOZ0RNyO8LA",
- "n0MnhY2gThX7adD",
- "IZpgAGs8pCAxG2p"
]
}, - "outputs": [ ],
- "lastUpdateByName": "admin",
- "createdByName": "admin",
- "submittedByName": "admin",
- "calculationStatus": 0,
- "dirty": false,
- "refreshInputs": false,
- "nodeId": null,
- "userGroupEdit": null,
- "userGroupViewDetails": null,
- "serverMessages": [
- "Quote calculated successfully",
- "Quote saved\t"
], - "additionalInfo1": null,
- "additionalInfo2": null,
- "additionalInfo3": null,
- "additionalInfo4": null,
- "numberOfAttachments": 0,
- "creationWorkflowStatus": null,
- "creationWorkflowCurrentStep": null,
- "creationWorkflowStepCount": null,
- "creationWorkflowStepLabel": null,
- "signature": null,
- "lineItems": [
- {
- "version": 5,
- "typedId": "2147515671.QLI",
- "clicId": null,
- "inputs": [ ],
- "outputs": [
- {
- "resultName": "price",
- "resultLabel": "Price",
- "result": 666,
- "excludeFromExport": false,
- "warnings": null,
- "alertMessage": null,
- "alertType": null,
- "displayOptions": 2,
- "formatType": "INTEGER",
- "suffix": null,
- "resultType": "SIMPLE",
- "cssProperties": null,
- "userGroup": null,
- "resultGroup": null,
- "overrideValueOptions": null,
- "overrideAllowEmpty": true,
- "labelTranslations": null,
- "overridable": false,
- "overridden": false,
- "resultDescription": null
}
], - "dirty": false,
- "lineId": "0pnOfOZ0RNyO8LA",
- "parentId": null,
- "calculationStatus": 0,
- "editabilityStatus": 0,
- "label": "Label One",
- "sku": "11111",
- "priceRecordId": null,
- "folder": false,
- "treeLabel": "Label One",
- "createDate": "2021-11-02T14:06:06",
- "createdBy": 2147490696,
- "lastUpdateDate": "2021-11-02T14:06:06",
- "lastUpdateBy": 2147490696
}, - {
- "version": 5,
- "typedId": "2147515672.QLI",
- "clicId": null,
- "inputs": [ ],
- "outputs": [
- {
- "resultName": "price",
- "resultLabel": "Price",
- "result": 666,
- "excludeFromExport": false,
- "warnings": null,
- "alertMessage": null,
- "alertType": null,
- "displayOptions": 2,
- "formatType": "INTEGER",
- "suffix": null,
- "resultType": "SIMPLE",
- "cssProperties": null,
- "userGroup": null,
- "resultGroup": null,
- "overrideValueOptions": null,
- "overrideAllowEmpty": true,
- "labelTranslations": null,
- "overridable": false,
- "overridden": false,
- "resultDescription": null
}
], - "dirty": false,
- "lineId": "n0MnhY2gThX7adD",
- "parentId": null,
- "calculationStatus": 0,
- "editabilityStatus": 0,
- "label": "Label Two",
- "sku": "22222",
- "priceRecordId": null,
- "folder": false,
- "treeLabel": "Label Two",
- "createDate": "2021-11-02T14:06:06",
- "createdBy": 2147490696,
- "lastUpdateDate": "2021-11-02T14:06:06",
- "lastUpdateBy": 2147490696
}, - {
- "version": 5,
- "typedId": "2147515673.QLI",
- "clicId": null,
- "inputs": [ ],
- "outputs": [
- {
- "resultName": "price",
- "resultLabel": "Price",
- "result": 666,
- "excludeFromExport": false,
- "warnings": null,
- "alertMessage": null,
- "alertType": null,
- "displayOptions": 2,
- "formatType": "INTEGER",
- "suffix": null,
- "resultType": "SIMPLE",
- "cssProperties": null,
- "userGroup": null,
- "resultGroup": null,
- "overrideValueOptions": null,
- "overrideAllowEmpty": true,
- "labelTranslations": null,
- "overridable": false,
- "overridden": false,
- "resultDescription": null
}
], - "dirty": false,
- "lineId": "IZpgAGs8pCAxG2p",
- "parentId": null,
- "calculationStatus": 0,
- "editabilityStatus": 0,
- "label": "Label Three",
- "sku": "33333",
- "priceRecordId": null,
- "folder": false,
- "treeLabel": "Label Three",
- "createDate": "2021-11-02T14:06:06",
- "createdBy": 2147490696,
- "lastUpdateDate": "2021-11-02T14:06:06",
- "lastUpdateBy": 2147490696
}
], - "expiryDate": "2021-11-01",
- "externalRef": null,
- "customerId": "00003",
- "customerName": "Kate Smith",
- "customerGroup": null,
- "quoteStatus": "OFFER",
- "renderInfo": null,
- "serverMessagesExtended": [
- {
- "key": "QUOTE_CALCULATED",
- "message": "Quote calculated successfully"
}, - {
- "key": null,
- "message": "Quote saved\t"
}
], - "approvalRequiredEmailAttachmentsJson": null,
- "hasWorkflowHistory": false,
- "approvedByName": "admin",
- "deniedByName": null,
- "createDate": "2021-11-02T14:01:54",
- "createdBy": 2147490696,
- "lastUpdateDate": "2021-11-02T14:06:06",
- "lastUpdateBy": 2147490696,
- "supersededBy": null,
- "prevRev": "P-2147491340-REV-2",
- "rootUniqueName": "P-2147491340",
- "quoteType": null,
- "status": "DRAFT"
}
], - "status": 0
}
}