Pricefx REST API Reference
- Update a Quote/Contract/Rebate Agreement/Compensation Plan
The Pricefx Backend API
Set to true to exclude large results (e.g., charts, matrix table, etc.) from response. Use the /clicmanager.fetchoutput/{typedId}/{resultName} (e.g., /clicmanager.fetchoutput/2147490386.Q/FlexChart) to download the result separately.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.fetch/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.fetch/{typedId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.fetch/{typedId}?noComplexResults=true&getMyItemsForReview=true' \
-H 'Content-Type: application/json' \
-d '{
"endRow": 0,
"oldValues": {},
"operationType": "string",
"startRow": 0,
"textMatchStyle": "string",
"data": {
"operator": "string",
"_constructor": "string",
"criteria": [
{
"fieldName": "string",
"operator": "string"
}
]
}
}'{ "response": { "node": "string", "startRow": 0, "data": [ … ], "endRow": 0, "totalRows": 0, "status": 0 } }
Request
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 not allowed to modify the document status and workflow status. This endpoint is used in the REACT version only. It is not advisable to mix REACT endpoints together with Ember endpoints.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.update/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.update/{typedId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.update/{typedId}' \
-H 'Content-Type: application/json' \
-d '{
"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": [ … ], "status": 0 } }
Request
Calculates a Quote, Contract, Rebate Agreement, or Compensation Plan.
Triggers a synchronous recalculation of the given CLIC document.
If a header formula calls switchToAsync() during the pre-phase, the synchronous calculation is aborted, all changes are rolled back, and an asynchronous job is created instead. In that case the response contains a JobStatusTracker object instead of the calculated CLIC header.
Use the typedId field in response.data[0] to distinguish the response type:
- CLIC header —
typedIdends with.Q,.C,.RA, or.CO(e.g.42.Q) - JobStatusTracker (async) —
typedIdends with.JST(e.g.107.JST)
This endpoint is used in the REACT version only. It is not advisable to mix REACT endpoints together with Ember endpoints.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.calculate/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.calculate/{typedId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.calculate/{typedId}?validationType=string'{ "response": { "node": "pricefx-cluster-app-frontend", "data": [ … ], "status": 0 } }
CommentsCopy for LLM Copy page as Markdown for LLMs View as Markdown Open this page as Markdown Open in ChatGPT Get insights from ChatGPT Open in Claude Get insights from Claude Connect to Cursor Install MCP server on Cursor Connect to VS Code Install MCP server on VS Code