Execute a Logic

post/formulamanager.execute/{sku}/{uniqueName}

Executes a logic (specified by uniqueName) that is assigned to the given product (specified by sku or typedId) and calculates the result. The result content is defined partially by the visibility flags that are part of the logic master data.

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

The sku or typedId of the product you want to execute the assigned logic for.

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
required
string non-empty
resultLabel
string non-empty
result
string non-empty
excludeFromExport
boolean
warnings
Array of objects non-empty unique
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": "string",
        • "excludeFromExport": true,
        • "warnings": [
          ],
        • "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
    }
}