Import Line Items (w/o Input Types)

post/clicmanager.importlineitems/{typedId}

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.

Securitybasic or X-PriceFx-jwt
Request
path Parameters
typedId
required
string
Request Body schema: application/json
object
parent
string
Array of objects
Array
Array of objects
label
string
sku
string
folder
boolean
Responses
200

OK - ServerMessageExtended property contains information about what was imported

Response Schema: application/json
object
node
string
Array of objects (Quote)
Array
Array of objects or null
createdByName
string <= 255 characters
typedId
string
headerText
string
workflowStatus
string <= 255 characters
Possible values: "DRAFT" "SUBMITTED" "DENIED" "APPROVED" "NO_APPROVAL_REQUIRED" "WITHDRAWN" "INVALIDATED"
Array of objects or null
lastUpdateDate
string <date-time>
Array of objects or null
externalRef
string or null <= 255 characters
deniedByName
string or null
Array of objects
userGroupViewDetails
string or null <= 255 characters
approvedByName
string or null
creationWorkflowCurrentStep
integer or null
rootUniqueName
string
originUniqueName
string or null
targetDate
string or null <date>
customerGroup
string or null
object or string
originDeleted
boolean or null
version
integer
customerName
string or null <= 255 characters
uniqueName
string <= 255 characters
serverMessages
Array of strings or null
creationWorkflowStatus
string <= 255 characters
Possible values: "DRAFT" "INPROGRESS" "FINISHED"
userGroupEdit
string or null <= 255 characters
hasWorkflowHistory
boolean
nodeId
integer
status
string <= 255 characters
Possible values: "DRAFT" "PENDING" "SCHEDULED" "PROCESSING" "SCHEDULED_DIRTY" "ERROR" "READY" "CANCELLED"
lastUpdateByName
string <= 255 characters
originClicId
integer or null
object or null
lostReason
string or null <= 255 characters
object or null
creationWorkflowStepCount
integer or null
quoteType
string or null
quoteStatus
string <= 255 characters
Possible values: "DRAFT" "OFFER" "DEAL" "REVOKED" "SUPERSEDED" "INVALIDATED" "LOST" "PARTIALDEAL"
lostReasonComment
string or null <= 255 characters
expiryDate
string or null <date>
creationWorkflowStepLabel
string or null <= 255 characters
customerId
string or null <= 255 characters
submittedByName
string or null <= 255 characters
createDate
string <date-time>
dirty
boolean
additionalInfo4
string or null <= 255 characters
additionalInfo3
string or null <= 255 characters
refreshInputs
boolean
additionalInfo2
number or null
additionalInfo1
number or null
numberOfAttachments
integer
originLabel
string or null
label
string <= 255 characters
nextRevUNs
Array of strings
createdBy
integer
approvalRequiredEmailAttachmentsJson
string or null
object or null
prevRev
string or null
calculationStatus
integer
supersededBy
string or null
lastUpdateBy
integer
persistedClicId
integer or null
persistedClicVersion
integer
status
integer
Request samples
application/json
{
  • "data": {
    • "parent": "ROOT",
    • "skus": [
      • {
        • "inputs": [
          ],
        • "label": "TEST",
        • "sku": "B-0006",
        • "folder": false
        }
      ]
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend-79df676dd9-lr6pk",
    • "data": [
      • {
        • "outputs": [ ],
        • "lastUpdateByName": "john.doe",
        • "createdByName": "john.doe",
        • "typedId": "2147494406.Q",
        • "workflowStatus": "DRAFT",
        • "inputs": [
          ],
        • "lastUpdateDate": "2024-06-17T08:37:58",
        • "serverMessagesExtended": [
          ],
        • "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": {
          },
        • "label": "New Quote",
        • "version": 10,
        • "uniqueName": "P-2147494406",
        • "serverMessages": [
          ],
        • "createdBy": 2147492363,
        • "viewState": { },
        • "calculationStatus": 2,
        • "hasWorkflowHistory": false,
        • "nodeId": 0,
        • "lastUpdateBy": 2147492363,
        • "status": "DRAFT"
        },
      • {
        • "folderChanged": false,
        • "inputChanged": [ ],
        • "outputChanged": [ ],
        • "durations": {
          },
        • "changedItems": [ ]
        },
      • {
        • "addedLineIds": [
          ]
        }
      ],
    • "status": 0
    }
}