Retrieves Contract Price Records (CPR). Use the filter (see the request sample) to exclude Quote Price Records from the returned Price Records.
To work with Contract Price Records, the option
enableAPRecalculationmust be set to true. Navigate to Administration > Configuration > System Configuration > Advanced Configuration Options and add theenableAPRecalculationoption.
OK
{- "endRow": 300,
 - "oldValues": null,
 - "operationType": "fetch",
 - "startRow": 0,
 - "textMatchStyle": "exact",
 - "data": {
- "criteria": [
- {
- "fieldName": "sourceId",
 - "operator": "notStartsWith",
 - "value": "P-",
 - "_constructor": "AdvancedCriteria"
 
} 
], - "operator": "and"
 
} 
}{- "response": {
- "node": "pricefx-cluster-app-frontend-6d6b77f6d9-z68h2",
 - "startRow": 0,
 - "data": [
- {
- "version": 1,
 - "typedId": "2.CPR",
 - "uniqueName": "CPR-2",
 - "status": "ACTIVE",
 - "sourceId": "C-16",
 - "lineId": "xrb3OqEZ66m3VXL",
 - "priority": 0,
 - "validAfter": "2018-04-04",
 - "expiryDate": "2019-01-01",
 - "externalRef": "",
 - "label": "newlyGeneratedRecord",
 - "createDate": "2023-11-07T08:12:35",
 - "createdBy": 2147490698,
 - "lastUpdateDate": "2023-11-07T08:12:35",
 - "lastUpdateBy": 2147490698,
 - "attribute1": "newlyGeneratedPR",
 - "sourceIdNoRev": "C-16"
 
}, - {
- "version": 1,
 - "typedId": "3.CPR",
 - "uniqueName": "CPR-3",
 - "status": "ACTIVE",
 - "sourceId": "C-16",
 - "lineId": "TXtzimqBsvAaK8R",
 - "priority": 0,
 - "validAfter": "2018-04-04",
 - "expiryDate": "2019-01-01",
 - "externalRef": "",
 - "label": "newlyGeneratedRecord",
 - "createDate": "2023-11-07T08:12:35",
 - "createdBy": 2147490698,
 - "lastUpdateDate": "2023-11-07T08:12:35",
 - "lastUpdateBy": 2147490698,
 - "attribute1": "newlyGeneratedPR",
 - "sourceIdNoRev": "C-16"
 
} 
], - "endRow": 8,
 - "totalRows": 8,
 - "status": 0
 
} 
}