Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Update a Data Change Request Item
Add a Data Change Request
Add a Data Change Request Item
Get a Data Change Request
Get a Data Change Request (changes only)
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 Request Mass Change
Update 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.fetch/{id}/changesOnly
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.fetch/{id}/changesOnly
- 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.fetch/{id}/changesOnly' \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact"
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-7577dc88d5-pztr7", "startRow": 0, "data": [ … ], "endRow": 1, "totalRows": 1, "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.update/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.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/dcrmanager.update/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "string",
"currency": "string"
},
"oldValues": {
"key1": "string",
"changeRequestId": 0,
"key2": "string",
"typedId": "string",
"key5": "string",
"key6": "string",
"key3": "string",
"lastUpdateDate": "2019-08-24T14:15:22Z",
"key4": "string",
"approvalReason": "string",
"sku": "string",
"unitOfMeasure": "string",
"version": 0,
"attribute9": null,
"deleteRow": true,
"attribute8": null,
"attribute5": null,
"attribute4": null,
"attribute7": null,
"attribute6": null,
"name": "string",
"attribute1": null,
"attribute14": null,
"attribute13": null,
"attribute3": null,
"attribute12": null,
"attribute2": null,
"attribute11": null,
"attribute10": null,
"attribute19": null,
"attribute18": null,
"attribute17": null,
"itemTypedId": null,
"attribute16": null,
"attribute15": null,
"oldValues": {
"property1": {
"oldValue": "string",
"newValue": "string"
},
"property2": {
"oldValue": "string",
"newValue": "string"
}
},
"ignoreChange": true,
"customerId": "string",
"attribute25": null,
"attribute24": null,
"currency": "string",
"attribute23": null,
"attribute22": null,
"attribute21": null,
"value": "string",
"attribute20": null,
"createDate": "2019-08-24T14:15:22Z",
"comments": "string",
"attribute29": null,
"attribute28": null,
"attribute27": null,
"attribute26": null,
"label": "string",
"createdBy": 0,
"changeRef": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"attribute30": null,
"lastUpdateBy": 0
},
"operationType": "string",
"textMatchStyle": "string"
}'Response
application/json
{ "response": { "node": "string", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/dcrmanager.delete/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/dcrmanager.delete/{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.delete/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "string"
},
"operationType": "string"
}'Response
application/json
{ "response": { "node": "string", "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