Forms API
Forms is an independent BPC module. The Forms API can only be used for this module. In most cases, a registered user or API key is required to access the Forms API. The latter is recommended. Please also note the required role or permission. The Forms API can only be used to access the Forms repository.
Forms API
| Method | Endpoint |
|---|---|
|
|
Description Get all forms listed in the forms repository. Only the latest version of each form is returned. |
|
Returns List of all forms in forms repository as JSON. Each object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|
|
|
|
Description Add a new form to the forms repository with specified id. If a form with the specified id already exists, the form is updated. Example:
|
|
Path Parameter
|
|
Returns Created form as JSON. Object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|
|
|
|
Description Update a form in the forms repository. The version is automatically incremented. If no form with specified id exists, the form is created with version 1. Example:
|
|
Path Parameter
|
|
Returns Created form as JSON. Object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|
|
|
|
Description Get a specific form with latest version of the forms repository. |
|
Path Parameter
|
|
Returns Specified form as JSON. Object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API key is required. |
|
|
|
Description Get a specific form with specific version of the forms repository. If the version does not exist, the latest version is returned. |
|
Path Parameter
|
|
Returns Specified form as JSON. Object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API key is required. |
|
|
|
Description Get all versions of a form in the forms repository. |
|
Path Parameter
|
|
Returns List of all form versions with specified id in forms repository as JSON. Each object has form configuration in config entry and other meta data. HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|
|
|
|
Description Get the configuration of a specific form with latest version of the forms repository. |
|
Path Parameter
|
|
Returns Configuration of specified form as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API key is required. |
|
|
|
Description Get the configuration of a specific form with specified version of the forms repository. If the version does not exist, the configuration of the latest version is returned. |
|
Path Parameter
|
|
Returns Configuration of specified form as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API key is required. |
|
|
|
Description Delete a specific version of a form from the forms repository. Only the specified version is removed. |
|
Path Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|
|
|
|
Description Deletes the form with the given id including all persisted versions. |
|
Path Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API key must have either the following role or right.
|