List Calculations

post/fetch/CORSC

Retrieves Calculation (CompensationRecordSetCalculation) objects. A filter can be applied.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
endRow
integer
oldValues
object or null
operationType
string
startRow
integer
textMatchStyle
string
object
_constructor
string
operator
string
Array of objects
Array
fieldName
string
operator
string
value
string
Responses
200

OK

Response Schema: application/json
object
node
string
startRow
integer
Array of objects (CompensationRecordSetCalculation)
Array
calculationType
string or null <= 255 characters
typedId
string
lastUpdateDate
string <date-time>
locale
string or null <= 255 characters
object or null
(string or null) or (string or null)
compensationRecordSetLabel
string <= 255 characters
compensationRecordSetId
integer
valid
boolean
sortBy
string or null <= 255 characters
adhocCalculation
object or null
createDate
string <date-time>
calculationMessages
string or null
targetDate
string or null <date-time>
shouldSubmit
boolean
label
string <= 255 characters
incremental
boolean
version
integer
object or null
isDefault
boolean
(string or null) or (string or null)
createdBy
integer
(string or null) or (string or null)
object or null
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
{
  • "endRow": 300,
  • "oldValues": null,
  • "operationType": "fetch",
  • "startRow": 0,
  • "textMatchStyle": "exact",
  • "data": {
    • "_constructor": "AdvancedCriteria",
    • "operator": "and",
    • "criteria": [
      • {
        • "fieldName": "status",
        • "operator": "equals",
        • "value": "READY"
        }
      ]
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "node1",
    • "startRow": 0,
    • "data": [
      • {
        • "version": 609,
        • "typedId": "3.CORSC",
        • "label": "Sales Compensations",
        • "calculationMessages": "[\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\",\"Compensation calculated successfully\"]",
        • "compensationRecordSetId": 1,
        • "compensationRecordSetLabel": "Sales Compensations",
        • "dtoFilter": {
          },
        • "calculationType": "RECORD",
        • "calculationConfig": {
          },
        • "createDate": "2022-06-09T08:21:13",
        • "createdBy": 290,
        • "lastUpdateDate": "2022-06-24T09:49:31",
        • "lastUpdateBy": 290,
        • "status": "READY",
        • "calculationStartDate": "2022-06-24T09:17:46",
        • "calculationDate": "2022-06-24T09:49:31",
        • "isDefault": true,
        • "incremental": false,
        • "incCalculationDate": "2022-06-24T09:17:46",
        • "shouldSubmit": false,
        • "valid": true
        }
      ],
    • "endRow": 1,
    • "totalRows": 1,
    • "status": 0
    }
}