Pricefx REST API Reference
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/rebaterecordgroup.calculate/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/rebaterecordgroup.calculate/{typedId}
- 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/rebaterecordgroup.calculate/123.RRG \
-H 'Content-Type: application/json' \
-d '{
"data": {
"rebateRecordGroup": {
"typedId": "string",
"endDate": "2019-08-24",
"workflowStatus": "DRAFT",
"agreementStatus": "DRAFT",
"payoutDate": "2019-08-24",
"attribute83": "string",
"attribute82": "string",
"attribute81": "string",
"attribute80": "string",
"sourceIdNoRev": "string",
"attribute89": "string",
"attribute88": "string",
"attribute87": "string",
"attribute86": "string",
"calculationResults": [
{
"resultName": "string",
"resultLabel": "string",
"result": "string",
"excludeFromExport": true,
"warnings": [
null
],
"alertMessage": "string",
"alertType": "CRITICAL",
"displayOptions": 0,
"formatType": "NUMERIC",
"suffix": "string",
"resultType": "string",
"cssProperties": "string",
"userGroup": "string",
"resultGroup": "string",
"overrideValueOptions": [
null
],
"overrideAllowEmpty": true,
"labelTranslations": "string",
"overridable": true,
"overridden": true,
"resultDescription": "string"
}
],
"attribute85": "string",
"attribute84": "string",
"targetDate": "2019-08-24",
"allowedOverrides": "string",
"version": 0,
"alerts": "string",
"attribute9": "string",
"attribute94": "string",
"attribute8": "string",
"attribute93": "string",
"attribute92": "string",
"attribute91": "string",
"attribute5": "string",
"attribute90": "string",
"attribute4": "string",
"attribute7": "string",
"attribute6": "string",
"attribute1": "string",
"attribute14": "string",
"attribute13": "string",
"userGroupEdit": "string",
"attribute3": "string",
"attribute12": "string",
"attribute2": "string",
"attribute11": "string",
"attribute99": "string",
"attribute10": "string",
"attribute98": "string",
"attribute97": "string",
"startDate": "2019-08-24",
"attribute96": "string",
"status": "DRAFT",
"attribute95": "string",
"formulaName": "string",
"itemExtensions": {},
"attribute19": "string",
"attribute18": "string",
"attribute17": "string",
"attribute16": "string",
"attribute15": "string",
"calculationDate": "2019-08-24T14:15:22Z",
"manualOverrides": "string",
"parentTypedId": "string",
"attribute25": "string",
"submittedByName": "string",
"attribute24": "string",
"attribute23": "string",
"attribute22": "string",
"attribute21": "string",
"attribute20": "string",
"createDate": "2019-08-24T14:15:22Z",
"approvalRequiredEmailAttachments": [
null
],
"attribute29": "string",
"attribute28": "string",
"attribute27": "string",
"attribute26": "string",
"completeResultsAvailable": "string",
"submittedMsg": "SUCCESS",
"attribute36": "string",
"attribute35": "string",
"attribute34": "string",
"attribute33": "string",
"attribute32": "string",
"attribute31": "string",
"headerRebateType": "string",
"attribute30": "string",
"sourceId": "string",
"createdByName": "string",
"attribute39": "string",
"inputs": [
null
],
"lastUpdateDate": "2019-08-24T14:15:22Z",
"attribute38": "string",
"attribute37": "string",
"serverMessagesExtended": [
null
],
"deniedByName": "string",
"attribute47": "string",
"attribute46": "string",
"userGroupViewDetails": "string",
"approvedByName": "string",
"attribute45": "string",
"attribute44": "string",
"locked": true,
"attribute43": "string",
"attribute42": "string",
"attribute41": "string",
"attribute40": "string",
"ongoingCalculationMsg": "SUCCESS",
"attribute49": "string",
"attribute48": "string",
"attribute50": "string",
"rebateType": "string",
"attribute100": "string",
"uniqueName": "string",
"name": "string",
"attribute58": "string",
"attribute57": "string",
"attribute56": "string",
"attribute55": "string",
"hasWorkflowHistory": true,
"attribute54": "string",
"attribute53": "string",
"attribute52": "string",
"allCalculationResults": [
{
"property1": {},
"property2": {}
}
],
"attribute51": "string",
"lastUpdateByName": "string",
"approvalDate": "2019-08-24T14:15:22Z",
"attribute59": "string",
"attribute61": "string",
"attribute60": "string",
"attribute69": "string",
"attribute68": "string",
"attribute67": "string",
"calculatedWithErrorsMsg": "SUCCESS",
"attribute66": "string",
"attribute65": "string",
"attribute64": "string",
"attribute63": "string",
"attribute62": "string",
"workStatus": "string",
"comments": "string",
"warnings": "string",
"approvalState": "NOT_APPROVED",
"label": "string",
"calculatedMsg": "SUCCESS",
"attribute72": "string",
"attribute71": "string",
"attribute70": "string",
"createdBy": 0,
"calculationStatus": 0,
"attribute79": "string",
"attribute78": "string",
"attribute77": "string",
"attribute76": "string",
"attribute75": "string",
"attribute74": "string",
"lastUpdateBy": 0,
"attribute73": "string"
}
}
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-7b4969966c-kqmvr", "data": [ … ], "status": 0 } }
Request
Retrieves the Rebate Record Group specified by the filter in the request payload. Retrieves all Rebate Record Groups when the payload is empty.
Security
basic or X-PriceFx-jwt
object
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/RRG
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/RRG
- 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/RRG \
-H 'Content-Type: application/json' \
-d '{
"operationType": "fetch",
"textMatchStyle": "exact",
"data": {
"fieldName": "uniqueName",
"operator": "equals",
"value": "RRG-7",
"_constructor": "AdvancedCriteria"
},
"oldValues": null
}'- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/rebaterecordgroup.revoke/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/rebaterecordgroup.revoke/{typedId}
- 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/rebaterecordgroup.revoke/{typedId}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-7fcbb9d98-lhpwp", "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