Pricefx REST API Reference
- Send a Validation Message
The Pricefx Backend API
Request
Sends a validation message (e.g., api.throwException, api.redAlert, etc.) from the validation of calculation logics in CLIC documents (Quotes, Agreements & Promotions (Contracts), Rebate Agreements, Compensation Plans) to the Notification Center (Notification API).
See the App Notifications article for more details.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/notification.send
- URL:https://companynode.pricefx.com/pricefx/companypartition/notification.send
- 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/notification.send \
-H 'Content-Type: application/json' \
-d '{
"data": {
"notification": {
"title": "My Title",
"message": "Description of banner",
"source": "notificationBanner",
"status": "INFO",
"topic": "SYSTEM_NOTIFICATION",
"actionType": "INFO_MESSAGE",
"validFrom": "2025-06-02T23:00:00.016Z",
"validUntil": "2025-06-03T21:59:59.016Z",
"dueDate": "2025-06-03T21:59:59.016Z",
"dismissible": true
}
}
}'{ "response": { "node": "string", "data": null, "status": 0, "startRow": 0, "endRow": 0 } }
Request
Retrieves all notifications. A filter can be applied.
See the App Notifications article for more details.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/notification.list
- URL:https://companynode.pricefx.com/pricefx/companypartition/notification.list
- 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/notification.list \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact",
"data": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "topic",
"operator": "equals",
"value": "GROOVY"
}
]
}
}'{ "response": { "node": "pricefx-cluster-app-frontend-f75d74cdc-pg5qh", "startRow": 0, "data": [ … ], "endRow": 300, "totalRows": 2, "status": 0 } }
Request
Sets the specifed notification as as read.
See the App Notifications article for more details.
- application/json
- application/xml
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/notification.setread
- URL:https://companynode.pricefx.com/pricefx/companypartition/notification.setread
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- application/xml
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/notification.setread \
-H 'Content-Type: application/json' \
-d '{}'{ "response": { "node": "string", "data": null, "status": 0, "startRow": 0, "endRow": 0 } }
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