Sets the specified Quote as LOST and sets the loss reason (lostReason). Optionally, an additional comment (lostReasonComment) can be added.
Returns the updated Quote object.
OK
{- "data": {
- "lostReason": "string",
 - "lostReasonComment": "string"
 
} 
}{- "response": {
- "node": "pricefx-cluster-app-frontend-689d96f98d-hnkt9",
 - "data": [
- {
- "version": 17,
 - "typedId": "2147493285.Q",
 - "uniqueName": "P-2147493285",
 - "label": "New Quote",
 - "targetDate": "2022-11-18",
 - "workflowStatus": "NO_APPROVAL_REQUIRED",
 - "inputs": null,
 - "viewState": null,
 - "outputs": null,
 - "lastUpdateByName": "admin",
 - "createdByName": "admin",
 - "submittedByName": "admin",
 - "calculationStatus": 0,
 - "dirty": false,
 - "refreshInputs": false,
 - "nodeId": 0,
 - "userGroupEdit": null,
 - "userGroupViewDetails": null,
 - "serverMessages": null,
 - "additionalInfo1": null,
 - "additionalInfo2": null,
 - "additionalInfo3": null,
 - "additionalInfo4": null,
 - "numberOfAttachments": 0,
 - "creationWorkflowStatus": "FINISHED",
 - "creationWorkflowCurrentStep": null,
 - "creationWorkflowStepCount": null,
 - "creationWorkflowStepLabel": null,
 - "originDeleted": false,
 - "originLabel": null,
 - "originUniqueName": null,
 - "signature": null,
 - "expiryDate": "2022-11-18",
 - "externalRef": null,
 - "customerId": null,
 - "customerName": null,
 - "originClicId": null,
 - "lostReason": "Reason2",
 - "lostReasonComment": "lost",
 - "customerGroup": null,
 - "quoteStatus": "LOST",
 - "approvalRequiredEmailAttachmentsJson": "[{\"fieldName\":\"id\",\"operator\":\"inSet\",\"value\":[],\"_constructor\":\"AdvancedCriteria\"}]",
 - "renderInfo": null,
 - "serverMessagesExtended": null,
 - "approvedByName": "admin",
 - "deniedByName": null,
 - "hasWorkflowHistory": false,
 - "createDate": "2022-11-18T14:21:47",
 - "createdBy": 2147490696,
 - "lastUpdateDate": "2022-11-18T14:22:41",
 - "lastUpdateBy": 2147490696,
 - "supersededBy": null,
 - "prevRev": null,
 - "rootUniqueName": "P-2147493285",
 - "quoteType": "__DEFAULT__",
 - "status": "DRAFT"
 
} 
], - "status": 0
 
} 
}