Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Delete a Calculation Grid Item
Add a Calculation Grid
List Calculation Grids
Get a Calculation Grid
Update a Calculation Grid
Delete a Calculation Grid
Calculate a Calculation Grid
Add a Calculation Grid Item
List Calculation Grid Items
Get a Calculation Grid Item
Update a Calculation Grid Item
Submit a Calculation Grid Item
Deny a Calculation Grid Item
Delete a Calculation Grid...
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}
Request
Denies the CalculationGridItems to the workflow.
| Required Permission | Roles with the Required Permission |
|---|---|
| CALCULATIONGRID_SUBMIT | Edit Calculation Grid & Add Products (CALCULATIONGRID_ADD), Edit CG (PB_CALCULATIONGRIDEDITOR), Administer CG (PB_CALCULATIONGRIDS) |
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationgridmanager.reject/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/calculationgridmanager.reject/{id}
- 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/calculationgridmanager.reject/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"ids": [
"12.CGI",
"13.CGI",
"17.CGI",
"18.CGI",
"19.CGI"
]
}
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-5459985ccb-cwdn6", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/CGI{keyNumber}
- URL:https://companynode.pricefx.com/pricefx/companypartition/delete/CGI{keyNumber}
- 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/delete/CGI{keyNumber}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "4.CGI6"
},
"operationType": "remove"
}'Response
application/json
{ "response": { "node": "e2e-tabasco-node", "data": [ … ], "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
Operations
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