---
title: "Copy a Logic"
method: POST
path: "/formulamanager.copy/{id}"
tags: ["Logics"]
---

# Copy a Logic

`POST /formulamanager.copy/{id}`

Creates a copy of the specified logic. The `validAfter` value is set to today's date, all other values and sub-elements are exact copies.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` 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)
