Imports CLIC line items without specified input types, alowing to assign the input type to the line item using logic.
The input name of the imported line item in the API request is compared with the name of inputs generated by the line item logic. If those names are equal, the input type from the calculation logic is used.
OK - ServerMessageExtended
property contains information about what was imported
{- "data": {
- "parent": "ROOT",
- "skus": [
- {
- "inputs": [
- {
- "name": "Integer Input",
- "value": "123"
}
], - "label": "TEST",
- "sku": "B-0006",
- "folder": false
}
]
}
}
{- "response": {
- "node": "pricefx-cluster-app-frontend-79df676dd9-lr6pk",
- "data": [
- {
- "outputs": [ ],
- "lastUpdateByName": "john.doe",
- "createdByName": "john.doe",
- "typedId": "2147494406.Q",
- "workflowStatus": "DRAFT",
- "inputs": [
- {
- "name": "Customer",
- "label": "Customer",
- "url": "/fetch/C/",
- "type": "CUSTOMER",
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}
], - "lastUpdateDate": "2024-06-17T08:37:58",
- "serverMessagesExtended": [
- {
- "key": "QUOTE_CALCULATED",
- "message": "Quote calculated successfully",
- "source": "HEADER"
}, - {
- "key": "IMPORT",
- "message": "Lake Street Express has been imported",
- "source": "ITEMS"
}
], - "quoteStatus": "DRAFT",
- "expiryDate": "2024-07-18",
- "locked": false,
- "lastCalculationDate": "2024-06-17T08:37:58",
- "createDate": "2024-06-17T08:37:36",
- "dirty": false,
- "refreshInputs": false,
- "rootUniqueName": "P-2147494406",
- "numberOfAttachments": 0,
- "targetDate": "2024-06-17",
- "ioMeta": {
- "inputs": {
- "Quantity": {
- "name": "Quantity",
- "label": "Quantity",
- "type": "INTEGERUSERENTRY",
- "required": true,
- "typedId": "2147494406.Q",
- "inputs": [ ],
- "parameterConfig": {
- "dataType": "integer"
}, - "formattingOptions": { }
}
}, - "outputs": {
- "RequiredInput": {
- "resultName": "RequiredInput",
- "resultLabel": "RequiredInput",
- "excludeFromExport": false,
- "displayOptions": 16,
- "resultType": "SIMPLE",
- "overrideAllowEmpty": true,
- "overridden": false,
- "overridable": false
}
}
}, - "label": "New Quote",
- "version": 10,
- "uniqueName": "P-2147494406",
- "serverMessages": [
- "Quote calculated successfully"
], - "createdBy": 2147492363,
- "viewState": { },
- "calculationStatus": 2,
- "hasWorkflowHistory": false,
- "nodeId": 0,
- "lastUpdateBy": 2147492363,
- "status": "DRAFT"
}, - {
- "folderChanged": false,
- "inputChanged": [ ],
- "outputChanged": [ ],
- "durations": {
- "header": [
- {
- "name": "pre",
- "duration": 13
}, - {
- "name": "post",
- "duration": 8
}
], - "items": [
- {
- "name": "B-0007",
- "duration": 5
}
]
}, - "changedItems": [ ]
}, - {
- "addedLineIds": [
- "rmguufbOhjxSPS9"
]
}
], - "status": 0
}
}