Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Update a Condition Record Set
Add a Condition Record Set
List Condition Record Sets
Delete a Condition Records Set
Get a Condition Record Item
Add a Condition Record Item Attribute Meta
Update a Condition Record Item Attribute Meta
Get a Condition Record Item Attribute Meta
Delete a Condition Record Item Attribute Meta
Get Condition Record Set Items With Set Id Validation
Update a Condition Record...
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
Allows you to update label, userGroupViewDetails, or userGroupEdit property of the Condition Record Set (CRCS).
Required roles:
SUPPORTPB_CONDITIONRECORDEDITOR
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/conditionrecordset.update/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/conditionrecordset.update/{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/conditionrecordset.update/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"label": "Net Price"
},
"oldValues": {
"version": 3
}
}'Response
application/json
{ "response": { "node": "node", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/CRCS
- URL:https://companynode.pricefx.com/pricefx/companypartition/add/CRCS
- 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/add/CRCS \
-H 'Content-Type: application/json' \
-d '{
"data": {
"uniqueName": "ConditionRecordSet01",
"label": "Condition Record Set 1",
"keySize": 12
},
"operation": "add"
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-67f5dcb4f4-pjksw", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/CRCS
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/CRCS
- 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/fetch/CRCS \
-H 'Content-Type: application/json' \
-d '{}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-67f5dcb4f4-pjksw", "startRow": 0, "data": [ … ], "endRow": 1, "totalRows": 1, "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