Add Contract Line Items

post/contractmanager.additems

Adds line items and recalculates the Contract.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
object
object
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
targetDate
string non-empty
workflowStatus
string non-empty
headerText
string
Array of objects non-empty unique
Array (non-empty)
name
string non-empty
label
string non-empty
lookupTableId
any
url
any
type
string non-empty
value
any
valueHint
any
readOnly
any
filter
any
parameterGroup
any
required
any
labelTranslations
any
addUnknownValues
any
typedId
string non-empty
alwaysEditable
any
inputs
Array of objects
parameterConfig
object
formattingOptions
object
valueOptions
any
viewState
any
outputs
Array of objects
lastUpdateByName
string non-empty
createdByName
string non-empty
submittedByName
any
calculationStatus
number
dirty
boolean
refreshInputs
boolean
nodeId
any
userGroupEdit
any
userGroupViewDetails
any
serverMessages
any
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
numberOfAttachments
number
creationWorkflowStatus
any
creationWorkflowCurrentStep
any
creationWorkflowStepCount
any
creationWorkflowStepLabel
any
signature
any
lineItems
Array of objects
customerGroup
any
object
label
string non-empty
productFieldName
any
productFieldLabel
any
productFieldValue
any
object
externalRef
any
contractStatus
string non-empty
startDate
string non-empty
endDate
string non-empty
status
any
approvedByName
any
deniedByName
any
approvalRequiredEmailAttachmentsJson
any
hasWorkflowHistory
boolean
renderInfo
any
serverMessagesExtended
any
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
supersededBy
any
prevRev
any
rootUniqueName
string non-empty
parent
string non-empty
contractTermTypes
Array of objects
Responses
200

Example response

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
targetDate
string non-empty
workflowStatus
string non-empty
headerText
string
Array of objects non-empty unique
viewState
any
outputs
Array of objects
lastUpdateByName
string non-empty
createdByName
string non-empty
submittedByName
any
calculationStatus
number
dirty
boolean
refreshInputs
boolean
nodeId
any
userGroupEdit
any
userGroupViewDetails
any
serverMessages
Array of objects
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
numberOfAttachments
number
creationWorkflowStatus
any
creationWorkflowCurrentStep
any
creationWorkflowStepCount
any
creationWorkflowStepLabel
any
signature
any
Array of objects non-empty unique
customerGroup
any
object
externalRef
any
contractStatus
string non-empty
startDate
string non-empty
endDate
string non-empty
status
string non-empty
approvedByName
any
deniedByName
any
approvalRequiredEmailAttachmentsJson
any
hasWorkflowHistory
boolean
renderInfo
any
Array of objects non-empty unique
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
supersededBy
any
prevRev
any
rootUniqueName
string non-empty
status
required
number
Request samples
application/json
{
  • "data": {
    • "contract": {
      • "version": 0,
      • "typedId": "string",
      • "uniqueName": "string",
      • "label": "string",
      • "targetDate": "string",
      • "workflowStatus": "string",
      • "headerText": "string",
      • "inputs": [
        • {
          }
        ],
      • "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": {
          }
        },
      • "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 samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • {
        • "version": 0,
        • "typedId": "string",
        • "uniqueName": "string",
        • "label": "string",
        • "targetDate": "string",
        • "workflowStatus": "string",
        • "headerText": "string",
        • "inputs": [
          ],
        • "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": [
          ],
        • "customerGroup": null,
        • "productGroup": {
          },
        • "externalRef": null,
        • "contractStatus": "string",
        • "startDate": "string",
        • "endDate": "string",
        • "status": "string",
        • "approvedByName": null,
        • "deniedByName": null,
        • "approvalRequiredEmailAttachmentsJson": null,
        • "hasWorkflowHistory": true,
        • "renderInfo": null,
        • "serverMessagesExtended": [
          ],
        • "createDate": "string",
        • "createdBy": 0,
        • "lastUpdateDate": "string",
        • "lastUpdateBy": 0,
        • "supersededBy": null,
        • "prevRev": null,
        • "rootUniqueName": "string"
        }
      ],
    • "status": 0
    }
}