---
title: "Update a Logic (No syntax check)"
method: POST
path: "/formulamanager.update/{id}/compileOnly"
tags: ["Logics"]
---

# Update a Logic (No syntax check)

`POST /formulamanager.update/{id}/compileOnly`

Updates the given logic. **Skips the syntax check**. Groovy compilation errors will still surface, but regular syntax errors could go unnoticed. Use with care!
<!-- theme: info -->
>**Information**:
> Skipping the syntax check is useful for better performance when the logic does not contain any inputs. If the logic contains inputs, the syntax check is needed.

## Request body

- object
  - `data` object
    - `version` number
    - `typedId` string
    - `uniqueName` string
    - `label` string
    - `validAfter` string
    - `status` string
    - `simulationSet` unknown
    - `userGroupEdit` unknown
    - `userGroupViewDetails` unknown
    - `formulaNature` unknown
    - `lastUpdateByName` string
    - `elements` object[]
      - `version` number
      - `typedId` string
      - `elementName` string
      - `elementLabel` string
      - `elementDescription` unknown
      - `elementGroups` string[]
      - `conditionElementName` unknown
      - `hideWarnings` boolean
      - `excludeFromExport` boolean
      - `protectedExpression` boolean
      - `elementTimeout` number
      - `displayOptions` number
      - `formatType` string, nullable
      - `elementSuffix` unknown
      - `allowOverride` boolean
      - `summarize` boolean
      - `hideOnNull` boolean
      - `userGroup` unknown
      - `cssProperties` unknown
      - `resultGroup` unknown
      - `combinationType` string
      - `storeInAttributeExtension` boolean
      - `criticalAlert` unknown
      - `redAlert` unknown
      - `yellowAlert` unknown
      - `labelTranslations` unknown
      - `createDate` string
      - `createdBy` number
      - `lastUpdateDate` string
      - `lastUpdateBy` number
      - `formulaExpression` string
    - `inputDescriptors` object[]
    - `formulaType` string
    - `createdByName` unknown
    - `createDate` string
    - `createdBy` number
    - `lastUpdateDate` string
    - `lastUpdateBy` number

## Response `200`

Example response

- object
  - `response` object
    - `node` string
    - `data` object[]
      - `formula` object
        - `version` number
        - `typedId` string
        - `uniqueName` string
        - `label` string
        - `validAfter` string
        - `status` string
        - `simulationSet` unknown
        - `userGroupEdit` unknown
        - `userGroupViewDetails` unknown
        - `formulaNature` unknown
        - `lastUpdateByName` string
        - `formulaType` string
        - `createdByName` unknown
        - `createDate` string
        - `createdBy` number
        - `lastUpdateDate` string
        - `lastUpdateBy` number
    - `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)
