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.

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

The ID of the logic. you want to copy. The id is the typedId without the F suffix. For example, the id attribute of the item with typedId = 2147484837.F is 2147484837.

Responses
200

OK

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
validAfter
string non-empty
status
string non-empty
simulationSet
any
userGroupEdit
any
userGroupViewDetails
any
formulaNature
any
lastUpdateByName
string non-empty
formulaType
string non-empty
createdByName
any
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
status
number
Request samples
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • {
        • "version": 0,
        • "typedId": "string",
        • "uniqueName": "string",
        • "label": "string",
        • "validAfter": "string",
        • "status": "string",
        • "simulationSet": null,
        • "userGroupEdit": null,
        • "userGroupViewDetails": null,
        • "formulaNature": null,
        • "lastUpdateByName": "string",
        • "formulaType": "string",
        • "createdByName": null,
        • "createDate": "string",
        • "createdBy": 0,
        • "lastUpdateDate": "string",
        • "lastUpdateBy": 0
        }
      ],
    • "status": 0
    }
}