Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Delete a Data Change Request Mass Change
Add a Data Change Request
Add a Data Change Request Item
Get a Data Change Request
Get a Data Change Request (changes only)
Update a Data Change Request Item
Delete a Data Change Request Item
Submit a Data Change Request
Submit a Data Change Request (async)
Mass Edit Data Change Request Items
Get Data Change Request Mass Changes
Update Data Change Request Mass Changes
Delete a Data Change Requ...
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}
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.updatemassop/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.updatemassop/{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/dcrmanager.updatemassop/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "41.DCRMC",
"massChange": {
"filter": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "id",
"operator": "inSet",
"value": [
"2147506300",
"2147506301"
]
}
]
},
"definitions": [
{
"fieldName": "currency",
"massEditOperator": "=",
"fieldValue": "EUR",
"precision": null
}
]
}
},
"oldValues": {
"version": 0,
"typedId": "41.DCRMC",
"massChange": {
"definitions": [
{
"fieldName": "currency",
"fieldValue": "USD",
"massEditOperator": "=",
"itemAction": "edit",
"changeStateReason": null,
"precision": null
}
],
"filter": {
"_constructor": "AdvancedCriteria",
"criteria": [
{
"fieldName": "id",
"value": [
"2147506300",
"2147506301"
],
"operator": "inSet"
}
],
"operator": "and"
},
"type": "EDIT"
},
"comments": null,
"createDate": "2024-05-06T10:22:39",
"createdBy": 2147490696,
"lastUpdateDate": "2024-05-06T10:22:39",
"lastUpdateBy": 2147490696,
"itemExtensions": {
"cellStyles": {
"typedId": "background-color:#ffa39e"
}
}
},
"operationType": "update",
"textMatchStyle": "exact"
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-86fdbbfb9-7zjkq", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.deletemassop/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.deletemassop/{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/dcrmanager.deletemassop/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "41.DCRMC"
}
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-85b5cf67cc-88t97", "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