Updates a Quote, Contract, Rebate Agreement, or Compensation Plan.
attributeExtension
can be updated as follows:
{
"data": {
"typedId": "{typedId}",
"version": {version},
"attributeExtension___AttributeExtensionColumn2": "testValue"
}
}
This endpoint is used in the REACT version only. It is not advisable to mix REACT endpoints together with Ember endpoints.
OK
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "data": {
- "version": 10,
- "typedId": "8.CO",
- "uniqueName": "CO-8",
- "label": "New Compensation Plan",
- "targetDate": "2022-06-22",
- "workflowStatus": "DRAFT",
- "inputs": [
- {
- "name": "CustomerGroup",
- "label": "Customer(s)",
- "lookupTableId": null,
- "url": null,
- "type": "CUSTOMERGROUP",
- "value": {
- "customerFilterCriteria": {
- "_constructor": "AdvancedCriteria",
- "operator": "and",
- "criteria": [
- {
- "fieldName": "customerId",
- "operator": "inSet",
- "value": [
- "001",
- "00001"
]
}
]
}, - "label": "001,00001"
}, - "valueHint": null,
- "readOnly": null,
- "filter": null,
- "parameterGroup": null,
- "required": null,
- "labelTranslations": null,
- "addUnknownValues": null,
- "typedId": null,
- "alwaysEditable": null,
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { },
- "valueOptions": null
}, - {
- "name": "ProductGroup",
- "label": "Product(s)",
- "lookupTableId": null,
- "url": null,
- "type": "PRODUCTGROUP",
- "value": null,
- "valueHint": null,
- "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": null
}, - "outputs": [ ],
- "lastUpdateByName": "admin",
- "createdByName": "admin",
- "submittedByName": null,
- "calculationStatus": 0,
- "dirty": true,
- "refreshInputs": false,
- "nodeId": 0,
- "userGroupEdit": null,
- "userGroupViewDetails": null,
- "serverMessages": null,
- "additionalInfo1": null,
- "additionalInfo2": null,
- "additionalInfo3": null,
- "additionalInfo4": null,
- "numberOfAttachments": 0,
- "creationWorkflowStatus": null,
- "creationWorkflowCurrentStep": null,
- "creationWorkflowStepCount": null,
- "creationWorkflowStepLabel": null,
- "signature": null,
- "sellerGroup": null,
- "customerGroup": null,
- "startDate": "2022-06-22",
- "endDate": "2022-06-22",
- "payoutDate": "2022-06-22",
- "compensationRecordSetId": null,
- "compensationRecordSetLabel": null,
- "simulationSet": null,
- "simulationType": null,
- "status": "DRAFT",
- "compensationStatus": "DRAFT",
- "readOnlyLineItemClass": "net.pricefx.domain.CompensationReadOnlyLineItem",
- "formulaElementGroupReadOnly": "compensationReadOnly",
- "successfulCalculationMsg": "COMPENSATION_CALCULATED",
- "calculationWithErrorsMsg": "COMPENSATION_CALCULATED_WITHERRORS",
- "conditionTypeClass": "net.pricefx.domain.CompensationConditionType",
- "formulaElementGroup": "compensation",
- "approvalRequiredEmailAttachmentsJson": null,
- "renderInfo": null,
- "serverMessagesExtended": null,
- "approvedByName": null,
- "deniedByName": null,
- "hasWorkflowHistory": false,
- "createDate": "2022-06-22T11:44:40",
- "createdBy": 2147490696,
- "lastUpdateDate": "2022-06-22T11:55:08",
- "lastUpdateBy": 2147490696,
- "supersededBy": null,
- "prevRev": null,
- "rootUniqueName": "CO-8",
- "ioMeta": {
- "inputs": { },
- "outputs": { }
}, - "compensationHeaderType": null,
- "headerText": "<p>testno</p>"
}
}
{- "response": {
- "node": "string",
- "data": [
- {
- "outputs": [
- {
- "resultName": "string",
- "resultLabel": "string",
- "result": { },
- "excludeFromExport": true,
- "warnings": [
- "string"
], - "alertMessage": "string",
- "alertType": "CRITICAL",
- "displayOptions": 0,
- "formatType": "NUMERIC",
- "suffix": "string",
- "resultType": "string",
- "cssProperties": "string",
- "userGroup": "string",
- "resultGroup": "string",
- "overrideValueOptions": [
- null
], - "overrideAllowEmpty": true,
- "labelTranslations": "string",
- "overridable": true,
- "overridden": true,
- "resultDescription": "string"
}
], - "createdByName": "string",
- "typedId": "string",
- "headerText": "string",
- "successfulCalculationMsg": "SUCCESS",
- "endDate": null,
- "workflowStatus": "DRAFT",
- "inputs": [
- {
- "name": "string",
- "label": "string",
- "lookupTableId": "string",
- "url": "string",
- "type": "string",
- "value": { },
- "valueHint": "string",
- "readOnly": true,
- "filter": {
- "property1": { },
- "property2": { }
}, - "parameterGroup": "string",
- "required": true,
- "labelTranslations": "string",
- "addUnknownValues": true,
- "typedId": "string",
- "alwaysEditable": true,
- "inputs": [
- { }
], - "parameterConfig": {
- "property1": { },
- "property2": { }
}, - "formattingOptions": {
- "property1": { },
- "property2": { }
}, - "valueOptions": [
- "string"
]
}
], - "lastUpdateDate": "2019-08-24T14:15:22Z",
- "readOnlyLineItemClass": "string",
- "compensationHeaderType": "string",
- "serverMessagesExtended": [
- {
- "key": "string",
- "message": "string"
}
], - "compensationRecordSetLabel": "string",
- "payoutDate": null,
- "deniedByName": "string",
- "lineItems": [
- {
- "version": 0,
- "typedId": "string",
- "clicId": 0,
- "inputs": [
- { }
], - "outputs": [
- { }
], - "dirty": true,
- "lineId": "string",
- "parentId": "string",
- "calculationStatus": 0,
- "editabilityStatus": 0,
- "label": "string",
- "containsProductImage": true,
- "customerGroup": {
- "label": "string",
- "customerFieldName": "string",
- "customerFieldLabel": "string",
- "customerFieldValue": "string",
- "customerFilterCriteria": {
- "property1": { },
- "property2": { }
}
}, - "productGroup": {
- "label": "string",
- "productFieldName": "string",
- "productFieldLabel": "string",
- "productFieldValue": "string",
- "productFilterCriteria": {
- "property1": { },
- "property2": { }
}
}, - "startDate": null,
- "endDate": null,
- "payoutDate": "2019-08-24T14:15:22Z",
- "calculationBaseJson": "string",
- "calculationBase": {
- "includedCustomerGroups": [
- { }
], - "includedProductGroups": [
- { }
], - "includedSellerReferences": [
- {
- "sellerId": "string",
- "sellerName": "string"
}
], - "excludedCustomerGroups": [
- { }
], - "excludedproductGroups": [
- { }
], - "excludedSellerReferences": [
- { }
], - "includedTimePeriods": [
- {
- "timeUnit": "DAY",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "single": true
}
], - "excludedTimePeriods": [
- { }
], - "otherFilters": [
- 0
], - "dateDimFieldName": "string"
}, - "simulationType": "string",
- "folder": true,
- "treeLabel": "string",
- "createDate": "string",
- "createdBy": 0,
- "lastUpdateDate": "string",
- "lastUpdateBy": 0,
- "compensationConditionType": "string",
- "compensationConditionTypeLabel": "string"
}
], - "userGroupViewDetails": "string",
- "approvedByName": "string",
- "creationWorkflowCurrentStep": 0,
- "rootUniqueName": "string",
- "targetDate": "2019-08-24T14:15:22Z",
- "customerGroup": { },
- "ioMeta": "string",
- "version": 0,
- "uniqueName": "string",
- "serverMessages": [
- "string"
], - "creationWorkflowStatus": "DRAFT",
- "userGroupEdit": "string",
- "conditionTypeClass": "string",
- "hasWorkflowHistory": true,
- "nodeId": 0,
- "startDate": null,
- "status": "DRAFT",
- "lastUpdateByName": "string",
- "renderInfo": {
- "property1": { },
- "property2": { }
}, - "signature": {
- "envelopeId": "string",
- "status": "sent",
- "sentDateTime": 0,
- "statusChangedDateTime": 0,
- "customerName": "string",
- "customerUserOrEmail": "string",
- "sender": 0,
- "senderName": "string",
- "templateName": "string",
- "note": "string",
- "voidedReason": "string",
- "error": "string",
- "history": [
- { }
]
}, - "creationWorkflowStepCount": 0,
- "sellerGroup": 0,
- "compensationRecordSetId": 0,
- "creationWorkflowStepLabel": "string",
- "formulaElementGroupReadOnly": "string",
- "submittedByName": "string",
- "formulaElementGroup": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dirty": true,
- "additionalInfo4": "string",
- "additionalInfo3": "string",
- "refreshInputs": true,
- "additionalInfo2": 0,
- "additionalInfo1": 0,
- "numberOfAttachments": 0,
- "compensationStatus": "DRAFT",
- "simulationType": "string",
- "label": "string",
- "nextRevUNs": [
- "string"
], - "simulationSet": "string",
- "createdBy": 0,
- "calculationWithErrorsMsg": "SUCCESS",
- "approvalRequiredEmailAttachmentsJson": "string",
- "viewState": {
- "gridViewState": "string",
- "openFolders": [
- "string"
], - "selectedNodes": [
- "string"
]
}, - "prevRev": "string",
- "calculationStatus": 0,
- "supersededBy": "string",
- "lastUpdateBy": 0
}
], - "status": 0
}
}