Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Run a Calculation
Get a Quote/Contract/Rebate Agreement/Compensation Plan Header
Add a Compensation Type
List Compensation Types
Update a Compensation Type
Delete a Compensation Type
Add a Condition Type
List Condition Types
Update a Condition Type
Delete a Condition Type
Upsert a Compensation Plan
List Compensation Plans
List CLIC Objects
Update a Quote/Contract/Rebate Agreement/Compensation Plan
Delete a Compensation Plan
Duplicate a Compensation Plan
Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan
Add a Calculation
List Calculations
Save Calculation
Delete a Calculation
Save a Compensation Record
List Compensation Records
Update a Compensation Record
Revoke a Compensation Record
List Accrual Records
Send a Document to Sign
Get a Signed Document
Get a Signature Status
Update CLIC Line Items
Delete All Line Items
Import Line Items (w/o Input Types)
Undo Compensation Plan Revocation
Undo Compensation Record Revocation
Run a Calculation
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}
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationrecord.savecalc
- URL:https://companynode.pricefx.com/pricefx/companypartition/calculationrecord.savecalc
- 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/calculationrecord.savecalc \
-H 'Content-Type: application/json' \
-d '{
"data": {
"version": 617,
"typedId": "3.CORSC",
"label": "Sales Compensations",
"calculationMessages": "[\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\"]",
"compensationRecordSetId": 1,
"compensationRecordSetLabel": "Sales Compensations",
"dtoFilter": {
"_constructor": "AdvancedCriteria",
"criteria": [
{
"fieldName": "sourceId",
"operator": "equals",
"value": "CO-157"
}
],
"operator": "and"
},
"calculationType": "RECORD",
"calculationConfig": {
"formulaName": "SC_Compensation",
"feederInputParams": [],
"inputParams": [],
"mappingParams": [],
"outputElements": []
},
"createDate": "2022-06-09T08:21:13",
"createdBy": 290,
"lastUpdateDate": "2022-06-24T10:44:59",
"lastUpdateBy": 290,
"status": "READY",
"calculationStartDate": "2022-06-24T10:26:20",
"calculationDate": "2022-06-24T10:44:59",
"isDefault": true,
"incremental": false,
"incCalculationDate": "2022-06-24T10:26:20",
"shouldSubmit": false,
"valid": true
},
"operationType": "update",
"textMatchStyle": "exact",
"oldValues": null
}'Response
application/json
{ "response": { "node": "node1", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationrecord.calculateset
- URL:https://companynode.pricefx.com/pricefx/companypartition/calculationrecord.calculateset
- 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/calculationrecord.calculateset \
-H 'Content-Type: application/json' \
-d '{
"data": {
"version": 7,
"typedId": "8.CORSC",
"label": "SC_records2",
"compensationRecordSetId": 1,
"compensationRecordSetLabel": "Sales Compensations",
"calculationConfig": {
"feederInputParams": [],
"inputParams": [],
"mappingParams": [],
"outputElements": []
},
"createDate": "2022-06-24T09:12:39",
"createdBy": 1687,
"lastUpdateDate": "2022-06-24T11:23:35",
"lastUpdateBy": 1687,
"status": "CANCELLED",
"isDefault": false,
"incremental": true,
"shouldSubmit": false,
"valid": true
}
}'Response
application/json
{ "response": { "node": "node1", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.deleteCompensationCalculation
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.deleteCompensationCalculation
- 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.deleteCompensationCalculation \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "8.CORSC"
}
}'Response
application/json
{ "response": { "node": "node1", "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