Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan

post/clicmanager.calculate/{typedId}

Calculates a Quote, Contract, Rebate Agreement, or Compensation Plan.

This endpoint is used in the REACT version only. It is not advisable to mix REACT endpoints together with Ember endpoints.

Securitybasic or X-PriceFx-jwt
Request
path Parameters
typedId
required
string

The typedId of the document you want to calculate.

Responses
200

OK

Response Schema: application/json
object
node
string
Array of objects
Array
outputs
Array of objects
lastUpdateByName
string
createdByName
string
typedId
string
workflowStatus
string
Array of objects
lastUpdateDate
string
Array of objects
quoteType
string
quoteStatus
string
expiryDate
string
createDate
string
dirty
boolean
refreshInputs
boolean
rootUniqueName
string
numberOfAttachments
integer
targetDate
string
object
originDeleted
boolean
label
string
version
integer
uniqueName
string
serverMessages
Array of strings
createdBy
integer
viewState
object
calculationStatus
integer
hasWorkflowHistory
boolean
nodeId
integer
lastUpdateBy
integer
status
string
folderChanged
boolean

Returns true when a folder is added, renamed, deleted, or moved.

inputChanged
Array of strings

Returns lineId when an input is added, or updated by a header logic.

outputChanged
Array of strings

Returns lineId when an output is added, or updated by a header logic.

object

Stats result of the currently performed calculation.

status
integer
Request samples
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend",
    • "data": [
      • {
        • "outputs": [ ],
        • "lastUpdateByName": "ondrej.tesar",
        • "createdByName": "petr.rys",
        • "typedId": "2147493280.Q",
        • "workflowStatus": "DRAFT",
        • "inputs": [
          ],
        • "lastUpdateDate": "2022-12-22T09:36:54",
        • "serverMessagesExtended": [
          ],
        • "quoteType": "All Inputs Header Configurator Basic",
        • "quoteStatus": "DRAFT",
        • "expiryDate": "2023-01-01",
        • "createDate": "2022-12-01T10:06:01",
        • "dirty": false,
        • "refreshInputs": false,
        • "rootUniqueName": "P-2147493280",
        • "numberOfAttachments": 0,
        • "targetDate": "2022-12-01",
        • "ioMeta": {
          },
        • "originDeleted": false,
        • "label": "New Quote",
        • "version": 13,
        • "uniqueName": "P-2147493280",
        • "serverMessages": [
          ],
        • "createdBy": 2147483724,
        • "viewState": { },
        • "calculationStatus": 0,
        • "hasWorkflowHistory": false,
        • "nodeId": 0,
        • "lastUpdateBy": 2147490187,
        • "status": "DRAFT"
        },
      • {
        • "folderChanged": false,
        • "inputChanged": [
          ],
        • "outputChanged": [ ],
        • "durations": {
          }
        }
      ],
    • "status": 0
    }
}