Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Mass Edit Data Change Request Items
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)
Get Data Change Request Mass Changes
Update Data Change Request Mass Changes
Delete a Data Change Request Mass Change
Mass Edit Data Change Req...
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
Asynchronously submits the specified Data Change Request (DCR). Returns the Job Status Tracker object (JST).
Use to submit large (set by asyncSubmitDCRThreshold via Advanced Configuration Options) DCRs to avoid system timeouts (180 seconds - AWS).
asyncSubmitDCRThreshold default is set 100. If the key does not exist, the submit is always synchronous.
Security
basic or X-PriceFx-jwt
object
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.submit/{id}/async
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.submit/{id}/async
- 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.submit/{id}/async' \
-H 'Content-Type: application/json' \
-d '{}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-64c5f8d7f5-k5svk", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.addmassop/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.addmassop/{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.addmassop/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"filterCriteria": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "id",
"operator": "inSet",
"value": [
"2147506300",
"2147506301"
],
"_constructor": "AdvancedCriteria"
}
]
},
"massEditRecords": [
{
"fieldName": "currency",
"massEditOperator": "=",
"fieldValue": "USD",
"precision": null
}
]
}
}'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.fetchmassop/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.fetchmassop/{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.fetchmassop/{id}' \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact"
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-86fdbbfb9-7zjkq", "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