List Contract Calculations

post/fetch/CTC

Retrieves Contract Calculations.

To work with Contract Calculations, the option enableAPRecalculation must be set to true. Navigate to Administration > Configuration > System Configuration > Advanced Configuration Options and add the enableAPRecalculation option.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
object
Responses
200

OK

Response Schema: application/json
object
node
string
startRow
integer
Array of objects (ContractCalculation)
Array
typedId
string
calculationMessages
string
targetDate
string <date-time>
lastUpdateDate
string <date-time>
shouldSubmit
boolean
label
string <= 255 characters
locale
string <= 255 characters
calculationDate
string <date-time>
version
integer
valid
boolean
object
isDefault
boolean
createdBy
integer
sortBy
string <= 255 characters
adhocCalculation
object
calculationStartDate
string <date-time>
object
createDate
string <date-time>
lastUpdateBy
integer
status
string <= 255 characters
Possible values: "DRAFT" "PENDING" "SCHEDULED" "PROCESSING" "SCHEDULED_DIRTY" "ERROR" "READY" "CANCELLED"
endRow
integer
totalRows
integer
status
integer
Request samples
application/json
{ }
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend-687494b664-mgwpf",
    • "startRow": 0,
    • "data": [
      • {
        • "version": 4,
        • "typedId": "1.CTC",
        • "label": "Test_Calc",
        • "calculationMessages": "[\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\",\"Agreement & Promotion calculated successfully\"]",
        • "calculationConfig": {
          },
        • "createDate": "2023-11-07T08:11:45",
        • "createdBy": 2147490698,
        • "lastUpdateDate": "2023-11-07T08:12:35",
        • "lastUpdateBy": 2147490698,
        • "status": "READY",
        • "calculationStartDate": "2023-11-07T08:12:35",
        • "calculationDate": "2023-11-07T08:12:35",
        • "isDefault": false,
        • "shouldSubmit": false,
        • "valid": true
        }
      ],
    • "endRow": 1,
    • "totalRows": 1,
    • "status": 0
    }
}