Pricefx REST API Reference
- Create a Custom Form Revision
The Pricefx Backend API
Request
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.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.duplicate/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/customform.duplicate/{typedId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.duplicate/123.CFO \
-H 'Content-Type: application/json' \
-d '{}'{ "response": { "node": "pricefx-cluster-app-frontend-8bdb777df-dn9xf", "data": [ … ], "status": 0 } }
Request
Creates a new revision of the specified existing Custom Form. The returned object contains attributes, inputs or outputs, and duplicated embedded objects, but does not contain attached documents, actions, notes, and messages.
Note: The revision can only be created from a standalone Custom Form. The status of the form (formStatus) must be APPROVED and the workflow status (workflowStatus) must be either APPROVED or NO_APPROVAL_REQUIRED.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.createnewrevision/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/customform.createnewrevision/{typedId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.createnewrevision/{typedId}' \
-H 'Content-Type: application/json' \
-d '{}'{ "response": { "node": "pricefx-cluster-app-frontend-8bdb777df-dn9xf", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.preview
- URL:https://companynode.pricefx.com/pricefx/companypartition/customform.preview
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customform.preview \
-H 'Content-Type: application/json' \
-d '{}'{ "response": { "node": "pricefx-cluster-app-frontend-6c45d969f6-2fb9b", "data": [ … ], "status": 0 } }
CommentsCopy for LLM Copy page as Markdown for LLMs View as Markdown Open this page as Markdown Open in ChatGPT Get insights from ChatGPT Open in Claude Get insights from Claude Connect to Cursor Install MCP server on Cursor Connect to VS Code Install MCP server on VS Code