Pricefx REST API Reference
- Delete a Data Manager Entity
The Pricefx Backend API
Request
Returns a list of Data Load definitions. No validation is run on returned Data Loads and no schedules are loaded. Use this endpoint for listing only.
If you need Data Loads to be validated and schedules returned, use the List Data Loads (with validation and schedules) (/datamart.getdataloads) endpoint instead.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/datamart.listdataloads
- URL:https://companynode.pricefx.com/pricefx/companypartition/datamart.listdataloads
- 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/datamart.listdataloads{ "response": { "node": "string", "csrfToken": "string", "data": [ … ], "endRow": 0, "status": 0 } }
Request
Deletes a field collection (FC) definition, i.e. Data Feed (DMF), Datamart (DM), or Data Source (DMDS).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/datamart.deletefc/{TypeCode}
- URL:https://companynode.pricefx.com/pricefx/companypartition/datamart.deletefc/{TypeCode}
- 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/datamart.deletefc/DMDS \
-H 'Content-Type: application/json' \
-d '{
"data": {
"uniqueName": "Transactions"
}
}'{ "response": { "node": "string", "data": null, "status": 0 } }
Set this parameter to override the default timeout (60 seconds) of the query. The maximum allowed timeout is 300 seconds. The default timeout value and the maximum timeout value can be configured in the backend. Setting higher timeout can be useful, for example, when a query takes long time (e.g., when processing large tables).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/datamart.query
- URL:https://companynode.pricefx.com/pricefx/companypartition/datamart.query
- 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/datamart.query?timeout=20' \
-H 'Content-Type: application/json' \
-d '{
"operationType": "fetch",
"startRow": 0,
"endRow": 100000,
"sortBy": [],
"textMatchStyle": "exact",
"data": {
"query": {
"name": null,
"datamart": "DM.TransactionsDM",
"label": "Series1",
"source": "DM.TransactionsDM",
"projections": {
"bandBy": {
"alias": "bandBy",
"expression": "CustomerID",
"function": "",
"parameters": {},
"name": "CustomerID",
"label": "CustomerID"
},
"bubbleSize": {
"alias": "bubbleSize",
"expression": "SUM({field})",
"function": null,
"parameters": {
"field": "Quantity",
"quantity": "Quantity",
"base": "ListPrice"
},
"name": "Quantity",
"label": "∑Quantity",
"default": null,
"advancedProjection": true,
"formatString": "∑{field}"
},
"bubbleSize_n": {
"alias": "bubbleSize_n",
"expression": "SUM({field})",
"function": null,
"parameters": {
"field": "Quantity",
"quantity": "Quantity",
"base": "ListPrice"
},
"name": "Quantity",
"label": "∑Quantity (norm)",
"default": null,
"advancedProjection": true,
"formatString": "∑{field}"
},
"groupBy": {
"alias": "groupBy",
"expression": "Region",
"function": "",
"parameters": {},
"name": "Region",
"label": "Region"
},
"x": {
"alias": "x",
"expression": "SUM({field})",
"function": null,
"parameters": {
"field": "BasePrice",
"quantity": "Quantity",
"base": "ListPrice"
},
"name": "BasePrice",
"label": "∑BasePrice",
"default": null,
"advancedProjection": true,
"formatString": "∑{field}"
},
"y": {
"alias": "y",
"expression": "SUM({field})/SUM({quantity})",
"function": null,
"parameters": {
"field": "ListPrice",
"quantity": "Quantity",
"base": "ListPrice"
},
"name": "ListPrice",
"label": "∑ListPrice/∑Quantity",
"default": null,
"advancedProjection": true,
"formatString": "∑{field}/∑{quantity}"
}
},
"options": {
"currency": "EUR",
"regression": [
"y",
"x"
],
"distribution": [
"m1",
"x",
"y"
],
"normalization": [
"bubbleSize_n"
]
},
"filter": {
"criteria": [],
"operator": "and",
"_constructor": "AdvancedCriteria"
},
"aggregateFilter": null,
"dimensionFilters": [],
"limit": null,
"rollup": true,
"sortBy": []
}
},
"oldValues": null
}'{ "response": { "node": "e2e-staging-node", "startRow": 0, "data": [ … ], "endRow": 3, "totalRows": 3, "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