Sends the template with the specified Compensation document data via the e-signature system (DocuSign) and returns the Compensation object.
OK
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "data": {
- "templateName": "string",
- "customerUserOrEmail": "string",
- "customerName": "string",
- "note": "string"
}
}
{- "response": {
- "node": "pricefx-cluster-app-frontend-6bdcf77bcd-9c7tx",
- "data": [
- {
- "version": 23,
- "typedId": "27.CO",
- "uniqueName": "CO-27",
- "label": "New Compensation Plan",
- "targetDate": "2022-11-18",
- "workflowStatus": "APPROVED",
- "headerText": null,
- "inputs": null,
- "viewState": null,
- "outputs": null,
- "lastUpdateByName": "ondrej.tesar",
- "createdByName": "ondrej.tesar",
- "submittedByName": "ondrej.tesar",
- "calculationStatus": 0,
- "dirty": false,
- "refreshInputs": false,
- "nodeId": 0,
- "userGroupEdit": null,
- "userGroupViewDetails": null,
- "serverMessages": null,
- "additionalInfo1": null,
- "additionalInfo2": null,
- "additionalInfo3": null,
- "additionalInfo4": null,
- "numberOfAttachments": 0,
- "creationWorkflowStatus": null,
- "creationWorkflowCurrentStep": null,
- "creationWorkflowStepCount": null,
- "creationWorkflowStepLabel": null,
- "originDeleted": false,
- "originLabel": null,
- "originUniqueName": null,
- "signature": {
- "status": "processing",
- "sentDateTime": "2022-11-18T11:20:22.0372372Z",
- "statusChangedDateTime": "2022-11-18T11:20:22.0372372Z",
- "customerName": "Ondrej Tesar",
- "customerUserOrEmail": "ondrej.tesar@pricefx.eu",
- "sender": 2147490187,
- "senderName": "Ondrej Tesar",
- "templateName": "Word",
- "note": "msg"
}, - "lineItems": [ ],
- "sellerGroup": null,
- "customerGroup": null,
- "productGroup": null,
- "startDate": "2022-11-18",
- "endDate": "2022-11-18",
- "payoutDate": "2022-11-18",
- "compensationRecordSetId": null,
- "compensationRecordSetLabel": null,
- "simulationSet": null,
- "simulationType": null,
- "status": "DRAFT",
- "externalRef": null,
- "originClicId": null,
- "compensationStatus": "APPROVED",
- "readOnlyLineItemClass": "net.pricefx.domain.CompensationReadOnlyLineItem",
- "conditionTypeClass": "net.pricefx.domain.CompensationConditionType",
- "formulaElementGroup": "compensation",
- "formulaElementGroupReadOnly": "compensationReadOnly",
- "successfulCalculationMsg": "COMPENSATION_CALCULATED",
- "calculationWithErrorsMsg": "COMPENSATION_CALCULATED_WITHERRORS",
- "approvalRequiredEmailAttachmentsJson": "[{\"fieldName\":\"id\",\"operator\":\"inSet\",\"value\":[],\"_constructor\":\"AdvancedCriteria\"}]",
- "renderInfo": null,
- "serverMessagesExtended": null,
- "approvedByName": "ondrej.tesar",
- "deniedByName": null,
- "hasWorkflowHistory": true,
- "createDate": "2022-11-18T11:01:15",
- "createdBy": 2147490187,
- "lastUpdateDate": "2022-11-18T11:04:24",
- "lastUpdateBy": 2147490187,
- "supersededBy": null,
- "prevRev": null,
- "rootUniqueName": "CO-27",
- "compensationHeaderType": "__DEFAULT__"
}
], - "status": 0
}
}