Forms API
Forms is a standalone BPC module. The Forms API can only be used with this module. In most cases, a logged-in user or an API key is required to access the Forms API. The latter is recommended. Please also note the required role or permission in each case. 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 the forms repository as JSON. Each object contains the form configuration in the HTTP Status Code
Content-Type
|
|
Required Access Rights The logged-in user or API key must have either the following role or permission.
|
|
|
|
Description Add a new form to the forms repository with the specified ID. If a form with the specified ID already exists, the form is updated. Example:
|
|
Path Parameter
|
|
Returns Created form as JSON. The object contains the form configuration in the HTTP Status Code
Content-Type
|
|
Required Access Rights The logged-in user or API key must have either the following role or permission.
|
|
|
|
Description Update a form in the forms repository. The version is automatically incremented. If no form with the specified ID exists, the form is created with version 1. Example:
|
|
Path Parameter
|
|
Returns Created form as JSON. The object contains the form configuration in the HTTP Status Code
Content-Type
|
|
Required Access Rights The logged-in user or API key must have either the following role or permission.
|
|
|
|
Description Retrieve a specific form using the latest version of the forms repository. |
|
Path Parameter
|
|
Returns The specified form as JSON. The object contains the form configuration in the HTTP Status Code
Content-Type
|
|
Required Access Rights A logged-in user or API key is required. |
|
|
|
Description Retrieve a specific form with a specific version from the forms repository. If the version does not exist, the latest version is returned. |
|
Path Parameter
|
|
Returns Specified form as JSON. The object contains the form configuration in the 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 the specified ID in the forms repository as JSON. Each object contains the form configuration in the HTTP Status Code
Content-Type
|
|
Required Access Rights The logged-in user or API key must have either the following role or permission.
|
|
|
|
Description Retrieve the configuration of a specific form using the latest version of the forms repository. |
|
Path Parameter
|
|
Returns Configuration of the 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 the 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 the specified form as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged-in user or API key is required. |