Pricefx REST API Reference
The Pricefx Backend API
Request
Adds a Claim without any data and items. Use the update/CL (Update a Claim) to add the data (e.g., uploaded file) to the Claim.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/CL
- URL:https://companynode.pricefx.com/pricefx/companypartition/add/CL
- 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/CL \
-H 'Content-Type: application/json' \
-d '{
"data": {
"label": "Claim01",
"claimType": "claimType"
},
"operation": "add"
}'{ "response": { "node": "node", "data": [ … ], "status": 0 } }
Request
Retrieves a list of Claims. A filter can be applied (for example, to retrieve a particular Claim with the specified name).
| Required Permission | Roles with the Required Permission |
|---|---|
| CLAIM_FETCH | Investigate for Support (SUPPORT), Administer Plasma (PLASMA), Manage Claims (CLM_CLAIMMANAGER), Use Claims (CLM_CLAIM) |
The number of the end row that defines the end of the result set's returned objects. Use this parameter if you want to implement paging for results.
The number of the first row that defines the start of the result set's returned objects. Use this parameter if you want to implement paging for results.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/CL
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/CL
- 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/CL \
-H 'Content-Type: application/json' \
-d '{
"operationType": "fetch",
"textMatchStyle": "exact",
"data": {
"fieldName": "uniqueName",
"operator": "equals",
"value": "CL-24",
"_constructor": "AdvancedCriteria"
},
"oldValues": null
}'{ "response": { "status": 0, "startRow": 0, "node": "pricefx-cluster-app-frontend-7f9df79f47-5pp4l", "data": [ … ], "endRow": 1 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/CL
- URL:https://companynode.pricefx.com/pricefx/companypartition/update/CL
- 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/update/CL \
-H 'Content-Type: application/json' \
-d '{
"operationType": "update",
"textMatchStyle": "exact",
"data": {
"typedId": "24.CL",
"version": 7,
"fileHandle": "1140.BD@0",
"fileName": "DataExport-1664881422978_CLAIMS.xlsx"
}
}'{ "response": { "node": "pricefx-cluster-app-frontend-7b54f8ddf6-hwfnn", "data": [ … ], "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
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