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.
OK
{ }
{- "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": [
- {
- "name": "input",
- "label": null,
- "lookupTableId": null,
- "url": null,
- "type": "USERENTRY",
- "value": null,
- "valueHint": null,
- "readOnly": null,
- "filter": null,
- "parameterGroup": null,
- "required": true,
- "labelTranslations": null,
- "addUnknownValues": null,
- "typedId": null,
- "alwaysEditable": null,
- "inputs": [ ],
- "parameterConfig": {
- "resultName": "input",
- "resultLabel": "input"
}, - "formattingOptions": { },
- "valueOptions": null
}
], - "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
}
}