Adds line items and recalculates the Contract.
Example response
object  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "contract": {
- "version": 0,
 - "typedId": "string",
 - "uniqueName": "string",
 - "label": "string",
 - "targetDate": "string",
 - "workflowStatus": "string",
 - "headerText": "string",
 - "inputs": [
- {
- "name": "string",
 - "label": "string",
 - "lookupTableId": null,
 - "url": null,
 - "type": "string",
 - "value": null,
 - "valueHint": null,
 - "readOnly": null,
 - "filter": null,
 - "parameterGroup": null,
 - "required": null,
 - "labelTranslations": null,
 - "addUnknownValues": null,
 - "typedId": "string",
 - "alwaysEditable": null,
 - "inputs": [
- { }
 
], - "parameterConfig": { },
 - "formattingOptions": { },
 - "valueOptions": null
 
} 
], - "viewState": null,
 - "outputs": [
- { }
 
], - "lastUpdateByName": "string",
 - "createdByName": "string",
 - "submittedByName": null,
 - "calculationStatus": 0,
 - "dirty": true,
 - "refreshInputs": true,
 - "nodeId": null,
 - "userGroupEdit": null,
 - "userGroupViewDetails": null,
 - "serverMessages": null,
 - "additionalInfo1": null,
 - "additionalInfo2": null,
 - "additionalInfo3": null,
 - "additionalInfo4": null,
 - "numberOfAttachments": 0,
 - "creationWorkflowStatus": null,
 - "creationWorkflowCurrentStep": null,
 - "creationWorkflowStepCount": null,
 - "creationWorkflowStepLabel": null,
 - "signature": null,
 - "lineItems": [
- { }
 
], - "customerGroup": null,
 - "productGroup": {
- "label": "string",
 - "productFieldName": null,
 - "productFieldLabel": null,
 - "productFieldValue": null,
 - "productFilterCriteria": {
- "_constructor": "string",
 - "criteria": [
- {
- "_constructor": "string",
 - "operator": "string",
 - "criteria": [
- { }
 
] 
} 
], - "operator": "string"
 
} 
}, - "externalRef": null,
 - "contractStatus": "string",
 - "startDate": "string",
 - "endDate": "string",
 - "status": null,
 - "approvedByName": null,
 - "deniedByName": null,
 - "approvalRequiredEmailAttachmentsJson": null,
 - "hasWorkflowHistory": true,
 - "renderInfo": null,
 - "serverMessagesExtended": null,
 - "createDate": "string",
 - "createdBy": 0,
 - "lastUpdateDate": "string",
 - "lastUpdateBy": 0,
 - "supersededBy": null,
 - "prevRev": null,
 - "rootUniqueName": "string"
 
}, - "parent": "string",
 - "contractTermTypes": [
- { }
 
] 
} 
}{- "response": {
- "node": "string",
 - "data": [
- {
- "version": 0,
 - "typedId": "string",
 - "uniqueName": "string",
 - "label": "string",
 - "targetDate": "string",
 - "workflowStatus": "string",
 - "headerText": "string",
 - "inputs": [
- {
- "name": "string",
 - "label": "string",
 - "lookupTableId": null,
 - "url": null,
 - "type": "string",
 - "value": null,
 - "valueHint": null,
 - "readOnly": null,
 - "filter": null,
 - "parameterGroup": null,
 - "required": null,
 - "labelTranslations": null,
 - "addUnknownValues": null,
 - "typedId": "string",
 - "alwaysEditable": null,
 - "inputs": [
- { }
 
], - "parameterConfig": { },
 - "formattingOptions": { },
 - "valueOptions": null
 
} 
], - "viewState": null,
 - "outputs": [
- { }
 
], - "lastUpdateByName": "string",
 - "createdByName": "string",
 - "submittedByName": null,
 - "calculationStatus": 0,
 - "dirty": true,
 - "refreshInputs": true,
 - "nodeId": null,
 - "userGroupEdit": null,
 - "userGroupViewDetails": null,
 - "serverMessages": [
- { }
 
], - "additionalInfo1": null,
 - "additionalInfo2": null,
 - "additionalInfo3": null,
 - "additionalInfo4": null,
 - "numberOfAttachments": 0,
 - "creationWorkflowStatus": null,
 - "creationWorkflowCurrentStep": null,
 - "creationWorkflowStepCount": null,
 - "creationWorkflowStepLabel": null,
 - "signature": null,
 - "lineItems": [
- {
- "version": null,
 - "typedId": null,
 - "clicId": null,
 - "inputs": [
- {
- "name": null,
 - "label": null,
 - "lookupTableId": null,
 - "url": null,
 - "type": null,
 - "value": null,
 - "valueHint": null,
 - "readOnly": null,
 - "filter": null,
 - "parameterGroup": null,
 - "required": null,
 - "labelTranslations": null,
 - "addUnknownValues": null,
 - "typedId": null,
 - "alwaysEditable": null,
 - "inputs": [ ],
 - "parameterConfig": { },
 - "formattingOptions": { },
 - "valueOptions": null
 
} 
], - "outputs": [
- {
- "resultName": null,
 - "resultLabel": null,
 - "result": null,
 - "excludeFromExport": null,
 - "warnings": [ ],
 - "alertMessage": null,
 - "alertType": null,
 - "displayOptions": null,
 - "formatType": null,
 - "suffix": null,
 - "resultType": null,
 - "cssProperties": null,
 - "userGroup": null,
 - "resultGroup": null,
 - "overrideValueOptions": null,
 - "overrideAllowEmpty": null,
 - "labelTranslations": null,
 - "overridable": null,
 - "overridden": null,
 - "resultDescription": null
 
} 
], - "dirty": true,
 - "lineId": "string",
 - "parentId": null,
 - "calculationStatus": 0,
 - "editabilityStatus": 0,
 - "label": "string",
 - "startDate": null,
 - "endDate": null,
 - "priceRecordId": null,
 - "customerGroup": null,
 - "productGroup": {
- "label": "string",
 - "productFieldName": null,
 - "productFieldLabel": null,
 - "productFieldValue": null,
 - "productFilterCriteria": {
- "_constructor": null,
 - "operator": null,
 - "criteria": [ ]
 
} 
}, - "calculationBaseJson": "string",
 - "calculationBase": {
- "includedCustomerGroups": [
- { }
 
], - "includedProductGroups": [
- { }
 
], - "includedSellerReferences": [
- { }
 
], - "excludedCustomerGroups": [
- { }
 
], - "excludedproductGroups": [
- { }
 
], - "excludedSellerReferences": [
- { }
 
], - "includedTimePeriods": [
- { }
 
], - "excludedTimePeriods": [
- { }
 
], - "otherFilters": [
- { }
 
], - "dateDimFieldName": "string"
 
}, - "folder": true,
 - "treeLabel": "string",
 - "createDate": "string",
 - "createdBy": 0,
 - "lastUpdateDate": "string",
 - "lastUpdateBy": 0,
 - "contractTermType": "string"
 
} 
], - "customerGroup": null,
 - "productGroup": {
- "label": "string",
 - "productFieldName": null,
 - "productFieldLabel": null,
 - "productFieldValue": null,
 - "productFilterCriteria": {
- "_constructor": "string",
 - "operator": "string",
 - "criteria": [
- {
- "_constructor": null,
 - "operator": null,
 - "criteria": [ ]
 
} 
] 
} 
}, - "externalRef": null,
 - "contractStatus": "string",
 - "startDate": "string",
 - "endDate": "string",
 - "status": "string",
 - "approvedByName": null,
 - "deniedByName": null,
 - "approvalRequiredEmailAttachmentsJson": null,
 - "hasWorkflowHistory": true,
 - "renderInfo": null,
 - "serverMessagesExtended": [
- {
- "key": null,
 - "message": "string"
 
} 
], - "createDate": "string",
 - "createdBy": 0,
 - "lastUpdateDate": "string",
 - "lastUpdateBy": 0,
 - "supersededBy": null,
 - "prevRev": null,
 - "rootUniqueName": "string"
 
} 
], - "status": 0
 
} 
}