Retrieves Compensation Plans. A filter can be applied.
OK
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "endRow": 300,
- "oldValues": null,
- "operationType": "fetch",
- "startRow": 0,
- "textMatchStyle": "exact",
- "data": {
- "_constructor": "AdvancedCriteria",
- "operator": "and",
- "criteria": [
- {
- "fieldName": "workflowStatus",
- "operator": "equals",
- "value": "SUBMITTED"
}
]
}
}
{- "response": {
- "node": "node1",
- "csrfToken": "token",
- "startRow": 0,
- "data": [
- {
- "version": 6,
- "typedId": "1.CO",
- "uniqueName": "CO-1",
- "label": "New Compensation Plan",
- "targetDate": "2022-04-28",
- "workflowStatus": "DRAFT",
- "lastUpdateByName": "billy.graham",
- "createdByName": "billy.graham",
- "calculationStatus": 0,
- "dirty": true,
- "refreshInputs": false,
- "nodeId": 0,
- "numberOfAttachments": 0,
- "startDate": "2022-04-28",
- "endDate": "2022-04-28",
- "payoutDate": "2022-04-28",
- "status": "DRAFT",
- "compensationStatus": "DRAFT",
- "conditionTypeClass": "net.pricefx.domain.CompensationConditionType",
- "formulaElementGroup": "compensation",
- "readOnlyLineItemClass": "net.pricefx.domain.CompensationReadOnlyLineItem",
- "calculationWithErrorsMsg": "COMPENSATION_CALCULATED_WITHERRORS",
- "formulaElementGroupReadOnly": "compensationReadOnly",
- "successfulCalculationMsg": "COMPENSATION_CALCULATED",
- "hasWorkflowHistory": false,
- "createDate": "2022-04-28T09:58:56",
- "createdBy": 492,
- "lastUpdateDate": "2022-04-28T14:07:04",
- "lastUpdateBy": 492,
- "rootUniqueName": "CO-1"
}, - {
- "version": 143,
- "typedId": "9.CO",
- "uniqueName": "CO-9",
- "label": "Test Migration",
- "targetDate": "2022-05-09",
- "workflowStatus": "SUBMITTED",
- "lastUpdateByName": "tram1",
- "createdByName": "tram1",
- "submittedByName": "tram1",
- "calculationStatus": 2,
- "dirty": false,
- "refreshInputs": false,
- "nodeId": 0,
- "numberOfAttachments": 0,
- "startDate": "2022-01-01",
- "endDate": "2022-12-31",
- "payoutDate": "2022-05-09",
- "status": "DRAFT",
- "compensationStatus": "DRAFT",
- "conditionTypeClass": "net.pricefx.domain.CompensationConditionType",
- "formulaElementGroup": "compensation",
- "readOnlyLineItemClass": "net.pricefx.domain.CompensationReadOnlyLineItem",
- "calculationWithErrorsMsg": "COMPENSATION_CALCULATED_WITHERRORS",
- "formulaElementGroupReadOnly": "compensationReadOnly",
- "successfulCalculationMsg": "COMPENSATION_CALCULATED",
- "approvalRequiredEmailAttachmentsJson": "[{\"fieldName\":\"id\",\"operator\":\"inSet\",\"value\":[],\"_constructor\":\"AdvancedCriteria\"}]",
- "hasWorkflowHistory": true,
- "approvedByName": "tram1",
- "createDate": "2022-05-09T06:20:21",
- "createdBy": 290,
- "lastUpdateDate": "2022-05-11T07:42:22",
- "lastUpdateBy": 290,
- "rootUniqueName": "CO-9",
- "compensationHeaderType": "[SC] Direct Compensation"
}, - {
- "version": 60,
- "typedId": "15.CO",
- "uniqueName": "CO-15",
- "label": "Test migration 2",
- "targetDate": "2022-05-11",
- "workflowStatus": "DRAFT",
- "lastUpdateByName": "tram1",
- "createdByName": "tram1",
- "calculationStatus": 2,
- "dirty": false,
- "refreshInputs": false,
- "nodeId": 0,
- "numberOfAttachments": 0,
- "sellerGroup": {
- "sellerFilterCriteria": {
- "_constructor": "AdvancedCriteria",
- "criteria": [
- {
- "fieldName": "sellerId",
- "operator": "inSet",
- "value": [
- "SC-006"
]
}
], - "operator": "and"
}
}, - "customerGroup": {
- "label": "B (Customer Class)",
- "customerFieldName": "attribute3",
- "customerFieldLabel": "Customer Class",
- "customerFieldValue": "B"
}, - "startDate": "2022-01-01",
- "endDate": "2022-12-31",
- "payoutDate": "2022-05-11",
- "status": "DRAFT",
- "compensationStatus": "DRAFT",
- "conditionTypeClass": "net.pricefx.domain.CompensationConditionType",
- "formulaElementGroup": "compensation",
- "readOnlyLineItemClass": "net.pricefx.domain.CompensationReadOnlyLineItem",
- "calculationWithErrorsMsg": "COMPENSATION_CALCULATED_WITHERRORS",
- "formulaElementGroupReadOnly": "compensationReadOnly",
- "successfulCalculationMsg": "COMPENSATION_CALCULATED",
- "hasWorkflowHistory": false,
- "createDate": "2022-05-11T09:02:59",
- "createdBy": 290,
- "lastUpdateDate": "2022-05-13T08:05:05",
- "lastUpdateBy": 290,
- "rootUniqueName": "CO-15",
- "compensationHeaderType": "[SC] Direct Compensation"
}
], - "endRow": 3,
- "totalRows": 92,
- "status": 0
}
}