Forms API
Forms is an independent BPC module. The Forms API can only be used for this module. In most cases, access to the Forms API requires a registered user or API key is required to access the Forms API. The latter is recommended. Please also note the role and rights required in each case. The Forms API can only be used to access the Forms Repository can be used.
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 Parameters
|
|
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 Parameters
|
|
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 Parameters
|
|
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 Parameters
|
|
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 Parameters
|
|
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 Parameters
|
|
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 Parameters
|
|
Returns Configuration of specified form as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API key is required. |