Pricefx REST API Reference
- Add a Lookup Table Value
The Pricefx Backend API
Request
Deletes records from the specified Company Parameters table (LookupTable). A filter can be applied (see the request example).
| Required Permission | Roles with the Required Permission |
|---|---|
| LOOKUPTABLE_REMOVE | Administer Price Parameters (PB_PARAMETERS), Administer Plasma (PLASMA) |
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/lookuptablemanager.delete/{tableId}/batch
- URL:https://companynode.pricefx.com/pricefx/companypartition/lookuptablemanager.delete/{tableId}/batch
- 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/lookuptablemanager.delete/{tableId}/batch?dataLocale=en' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"filterCriteria": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "upperBound",
"operator": "equals",
"value": 30
}
]
}
}
}'{ "response": { "node": "<node>", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/lookuptablemanager.add/{tableId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/lookuptablemanager.add/{tableId}
- 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/lookuptablemanager.add/{tableId}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"name": "recordName",
"value": "recordValue"
},
"operation": "add"
}'{ "response": { "node": "e2e-templates-node", "data": [ … ], "status": 0 } }
Request
Retrieves all Company Parameter records for the specified Company Parameter table (LookupTable).
Export the table to the Excel file (XLSX) using the output=xls URL query parameter. When exporting to the file, specify fields (within the resultFields property) you want to include in the output table.
Example:
{
"data":{
"criteria":[
],
"operator":"and"
},
"resultFields":[
"key1",
"key2",
"key3",
"attribute1",
"attribute2",
"attribute3"
],
"valueFields":[
]
}You can specify the start and end row to limit the number of retrieved records.
The number of the end row that defines the end of the result set's returned objects. Use this parameter if you want to implement paging for results.
The number of the first row that defines the start of the result set's returned objects. Use this parameter if you want to implement paging for results.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/lookuptablemanager.fetch/{tableId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/lookuptablemanager.fetch/{tableId}
- 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/lookuptablemanager.fetch/{tableId}?output=xls&useColumnNames=false' \
-H 'Content-Type: application/json' \
-d '{
"endRow": 30,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact"
}'{ "response": { "status": 0, "startRow": 0, "node": "<node>", "csrfToken": "<token>", "data": [ … ], "endRow": 3 } }
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