Pricefx REST API Reference
- Get Folder Statistics
The Pricefx Backend API
Request
Imports CLIC line items without specified input types, alowing to assign the input type to the line item using logic.
The input name of the imported line item in the API request is compared with the name of inputs generated by the line item logic. If those names are equal, the input type from the calculation logic is used.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.importlineitems/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.importlineitems/{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.importlineitems/{typedId}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"parent": "ROOT",
"skus": [
{
"inputs": [
{
"name": "Integer Input",
"value": "123"
}
],
"label": "TEST",
"sku": "B-0006",
"folder": false
}
]
}
}'{ "response": { "node": "pricefx-cluster-app-frontend-79df676dd9-lr6pk", "data": [ … ], "status": 0 } }
Request
Returns a list of parent IDs with the count of nested items. An example can be a list of Quote folders (their IDs) with the count of line items inside them.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.folderstats/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.folderstats/{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.folderstats/2147494.Q?withLineIds=true'{ "response": { "node": "pricefx-cluster", "data": [ … ], "status": 0 } }
Request
Fetches activities for a CLIC module activity log in a concise format, e.g., when multiple 'add item' actions are performed consecutively, they are consolidated into a single activity log entry containing all details.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/activitylog.fetch
- URL:https://companynode.pricefx.com/pricefx/companypartition/activitylog.fetch
- 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/activitylog.fetch \
-H 'Content-Type: application/json' \
-d '{
"endRow": 0,
"oldValues": "string",
"operationType": "string",
"startRow": 0,
"textMatchStyle": "string",
"data": {
"_constructor": "string",
"operator": "string",
"criteria": [
{
"_constructor": "string",
"operator": "string",
"criteria": [
{
"fieldName": "string",
"operator": "string",
"value": "string",
"_constructor": "string"
}
]
}
]
},
"sortBy": [
"string"
]
}'See the Key-Value Database Storage Knowledge Base article for more details.
Here you can find all fields of the corresponding entity (represented by the type code).
Use the /metadata.describe endpoint to find out the correct data type of the field that is used in your partition.
Comments