Execute a Logic (Without a Context)

post/formulamanager.executeformula/{uniqueName}

Executes a logic and returns results.

Use the output=rawjson parameter in the URL, for example /formulamanager.executeformula/QuoteLogic?output=rawjson in order to return the result in the simple JSON format as "resultName":result.

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

The name (uniqueName) of the logic you want to execute.

Request Body schema: application/json
data
object

Provide inputs for the logic as key-value pairs.

Responses
200

OK

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
resultName
string non-empty
resultLabel
string non-empty
result
any
excludeFromExport
boolean
warnings
any
alertMessage
any
alertType
any
displayOptions
number
formatType
string non-empty
suffix
any
resultType
string non-empty
cssProperties
any
userGroup
any
resultGroup
any
overrideValueOptions
any
overrideAllowEmpty
boolean
labelTranslations
any
overridable
boolean
overridden
boolean
resultDescription
any
status
number
Request samples
application/json
{
  • "data": {
    • "priority": "high",
    • "quantity": 14,
    • "map": {
      • "key": "value"
      }
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • {
        • "resultName": "string",
        • "resultLabel": "string",
        • "result": null,
        • "excludeFromExport": true,
        • "warnings": null,
        • "alertMessage": null,
        • "alertType": null,
        • "displayOptions": 0,
        • "formatType": "string",
        • "suffix": null,
        • "resultType": "string",
        • "cssProperties": null,
        • "userGroup": null,
        • "resultGroup": null,
        • "overrideValueOptions": null,
        • "overrideAllowEmpty": true,
        • "labelTranslations": null,
        • "overridable": true,
        • "overridden": true,
        • "resultDescription": null
        }
      ],
    • "status": 0
    }
}