---
title: "Execute a Logic (Without a Context)"
method: POST
path: "/formulamanager.executeformula/{uniqueName}"
tags: ["Logics"]
---

# Execute a Logic (Without a Context)

`POST /formulamanager.executeformula/{uniqueName}`

Executes a logic and returns results.<p>
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`.

## Query parameters

- `output` 'json' | 'xls' | 'csv' | 'pdf'
- `templateName` string
- `fileName` string

## Request body

- object
  - `data` object — Provide inputs for the logic as key-value pairs.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` object[]
      - `resultName` string
      - `resultLabel` string
      - `result` unknown
      - `excludeFromExport` boolean
      - `warnings` unknown
      - `alertMessage` unknown
      - `alertType` unknown
      - `displayOptions` number
      - `formatType` string
      - `suffix` unknown
      - `resultType` string
      - `cssProperties` unknown
      - `userGroup` unknown
      - `resultGroup` unknown
      - `overrideValueOptions` unknown
      - `overrideAllowEmpty` boolean
      - `labelTranslations` unknown
      - `overridable` boolean
      - `overridden` boolean
      - `resultDescription` unknown
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
