Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Update a Quote/Contract/Rebate Agreement/Compensation Plan
Get a Quote/Contract/Rebate Agreement/Compensation Plan Header
Submit a Quote/Contract/Rebate Agreement
List CLIC Objects
Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan
List Unique CLIC Items
Mark an Offer as Lost (with reason)
Send an Email
Update CLIC Line Items
Create a Quote
Save a Temporary Data
Get a Temporary Data
Delete All Line Items
Import Line Items (w/o Input Types)
Get Folder Statistics
Fetch Activities
Add Line Items
Update a Quote/Contract/R...
The Pricefx Backend API
Download OpenAPI description
Overview
URL
Pricefx
Languages
Servers
Mock server
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi
URL:
https://{baseUrl}/pricefx/{partition}
Query
Bodyapplication/jsonSet 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
application/json
{ "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.
Security
basic or X-PriceFx-jwt
- 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
application/json
{ "response": { "node": "string", "data": [ … ], "status": 0 } }
- 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
application/json
{ "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