Submits the CalculationGridItems
to the workflow.
Required Permission | Roles with the Required Permission |
---|---|
CALCULATIONGRID_SUBMIT | Edit Calculation Grid & Add Products (CALCULATIONGRID_ADD ), Edit CG (PB_CALCULATIONGRIDEDITOR ), Administer CG (PB_CALCULATIONGRIDS ) |
OK - In case that more than one item is passed in the request, the body will not contain any data ("data":null
). For a single item, the new CalculationGridItem object is returned.
OK
{- "data": {
- "ids": [
- "12.CGI",
- "13.CGI",
- "17.CGI",
- "18.CGI",
- "19.CGI"
]
}
}
{- "response": {
- "node": "pricefx-cluster-app-frontend-5459985ccb-cwdn6",
- "data": [
- {
- "version": 0,
- "typedId": "3.CG",
- "targetDate": "2023-03-30",
- "label": "CGtest",
- "numberOfItems": 0,
- "keepManualOverrides": false,
- "writeOnlyChangedItems": false,
- "configuration": "{\"logicDriven\":{\"keyGenerationLogic\":\"KeyLogic_CalculationGrid\",\"keyLogicElement\":\"KeyList_1Keys\"},\"keyHandlingMode\":\"auto\",\"calculationLogic\":\"SampleFlexibleCalculationGridLogic\",\"elementNames\":[\"KeySize\",\"Warning\",\"NumericLongResult\",\"DateResult\",\"MatrixResult\",\"PercentResult\",\"PXSearch\"],\"hiddenElementNames\":[],\"approvalTriggerFields\":[],\"approvalMappings\":{}}",
- "numberOfApprovedItems": 0,
- "numberOfOpenItems": 0,
- "numberOfDeniedItems": 0,
- "numberOfSubmittedItems": 0,
- "numberOfAutoApprovedItems": 0,
- "keySize": 0,
- "keyGenerationType": "LOGIC_DRIVEN",
- "updateDate": "2022-11-23",
- "updatedBy": 2147490187,
- "createDate": "2022-11-23T10:26:52",
- "createdBy": 2147490187,
- "lastUpdateDate": "2022-11-23T10:26:52",
- "lastUpdateBy": 2147490187,
- "status": "DRAFT",
- "id": 3
}
], - "status": 0
}
}