Duplicate a Custom Form

post/customform.duplicate/{typedId}

Creates a copy of the specified Custom Form. The copy includes inputs, outputs, and embedded objects. Returns the duplicated Custom Form.

Duplicated Custom Form fields:

The Custom Form has an origin and it is not deleted

originCustomFormId, originDeleted, originLabel, originUniqueName fields in the duplicated CFO object contain a copy of corresponding fields from the original Custom Form.

The Custom Form origin has been deleted

originCustomFormId is the id of the original Custom Form, originDeleted set to true. originLabel and originUniqueName fields are null.

The Custom Form does not have an origin (the CFO is not duplicated)

originCustomFormId, originDeleted, originLabel, originUniqueName fields have a null value.

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

typedId of the Custom Form you want to duplicate.

Example: 123.CFO
Request Body schema: application/json
object
Responses
200

OK

Response Schema: application/json
object
node
string
Array of objects (CustomForm)
Array
Array of objects
createdByName
string <= 255 characters
typedId
string or null
Array of objects
workflowStatus
string <= 255 characters
Possible values: "DRAFT" "SUBMITTED" "DENIED" "APPROVED" "NO_APPROVAL_REQUIRED" "WITHDRAWN" "INVALIDATED"
lastUpdateDate
string
Array of objects
object or null
deniedByName
string or null <= 255 characters
userGroupViewDetails
string or null <= 255 characters
approvedByName
string or null <= 255 characters
results
any

any type

originUniqueName
string

The unique name of the origin CFO.

module
string <= 255 characters
Possible values: "PRICESETTING" "QUOTING" "ANALYTICS" "ADMIN" "WORKFLOW" "REBATES" "AGREEMENTSPROMOTIONS" "OPTIMIZATION" "CHANNELMANAGEMENT" "MASTERDATA" "CONFIGURATION" "DASHBOARDS" "DEALPLANNING" "PROCESSES" "SALESCOMPENSATION" "CUSTOM_FORM" "ACTIONABLEINSIGHTS"
originDeleted
boolean

Indicates the deletion status of the origin CFO.

moduleCategoryUN
string or null
version
integer
originCustomFormId
integer

Stores the identifier of the original CFO from which the current CFO was duplicated.

attribute9
string <= 255 characters

any type or null

attribute8
string <= 255 characters

any type or null

uniqueName
string or null <= 255 characters
attribute5
string <= 255 characters

any type or null

attribute4
string <= 255 characters

any type or null

attribute7
string <= 255 characters

any type or null

attribute6
string <= 255 characters

any type or null

attribute1
string <= 255 characters

any type or null

attribute14
string <= 255 characters

any type or null

formStatus
string <= 255 characters
Possible values: "DRAFT" "APPROVED" "REVOKED" "SUPERSEDED" "INVALIDATED"
attribute13
string <= 255 characters

any type or null

typeId
integer
userGroupEdit
string or null <= 255 characters
attribute3
string <= 255 characters

any type or null

attribute12
string <= 255 characters

any type or null

attribute2
string <= 255 characters

any type or null

attribute11
string <= 255 characters

any type or null

attribute10
string <= 255 characters

any type or null

lastUpdateByName
string <= 255 characters
object or null
attribute19
string <= 255 characters

any type or null

attribute18
string <= 255 characters

any type or null

attribute17
string <= 255 characters

any type or null

attribute16
string <= 255 characters

any type or null

attribute15
string <= 255 characters

any type or null

submitDate
string or null
parentTypedId
string or null <= 255 characters
attribute25
string <= 255 characters

any type or null

submittedByName
string or null <= 255 characters
attribute24
string <= 255 characters

any type or null

attribute23
string <= 255 characters

any type or null

attribute22
string <= 255 characters

any type or null

attribute21
string <= 255 characters

any type or null

attribute20
string <= 255 characters

any type or null

createDate
string or null
approvalRequiredEmailAttachments
Array of objects or null
attribute29
string <= 255 characters

any type or null

attribute28
string <= 255 characters

any type or null

originLabel
string
attribute27
string <= 255 characters

any type or null

attribute26
string <= 255 characters

any type or null

label
string <= 255 characters
nextRevUNs
Array of strings
createdBy
integer
prevRev
string or null
calculationStatus
integer
supersededBy
string or null
attribute30
string <= 255 characters

any type or null

lastUpdateBy
integer
status
integer
Request samples
application/json
{ }
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend-8bdb777df-dn9xf",
    • "data": [
      • {
        • "version": 2,
        • "typedId": "533.CFO",
        • "uniqueName": "CFO-533",
        • "label": "Copy of my custom form 1",
        • "parentTypedId": null,
        • "typeId": 7,
        • "userGroupEdit": "groupEdit",
        • "userGroupViewDetails": "viewGroup",
        • "module": "QUOTING",
        • "moduleCategoryUN": null,
        • "results": null,
        • "inputs": [
          ],
        • "outputs": [ ],
        • "calculationStatus": 0,
        • "submitDate": null,
        • "workflowStatus": "DRAFT",
        • "formStatus": "DRAFT",
        • "submittedByName": null,
        • "approvedByName": null,
        • "deniedByName": null,
        • "createdByName": "admin",
        • "lastUpdateByName": "admin",
        • "originCustomFormId": 284,
        • "originDeleted": false,
        • "originLabel": "my custom form 1",
        • "originUniqueName": "CFO-284",
        • "renderInfo": null,
        • "serverMessagesExtended": [ ],
        • "approvalRequiredEmailAttachments": [ ],
        • "createDate": "2023-10-12T10:40:23",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2023-10-12T10:40:23",
        • "lastUpdateBy": 2147490696,
        • "attribute1": null,
        • "attribute2": null,
        • "attribute3": null,
        • "attribute4": null,
        • "attribute5": null,
        • "attribute6": null,
        • "attribute7": null,
        • "attribute8": null,
        • "attribute9": null,
        • "attribute10": null,
        • "attribute11": null,
        • "attribute12": null,
        • "attribute13": null,
        • "attribute14": null,
        • "attribute15": null,
        • "attribute16": null,
        • "attribute17": null,
        • "attribute18": null,
        • "attribute19": null,
        • "attribute20": null,
        • "attribute21": null,
        • "attribute22": null,
        • "attribute23": null,
        • "attribute24": null,
        • "attribute25": null,
        • "attribute26": null,
        • "attribute27": null,
        • "attribute28": null,
        • "attribute29": null,
        • "attribute30": null,
        • "customFormTypeObject": null,
        • "supersededBy": null,
        • "prevRev": null,
        • "rootUniqueName": "CFO-533"
        }
      ],
    • "status": 0
    }
}