Class FormsApi
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.form.api.FormsApi
-
- All Implemented Interfaces:
EndpointCategory
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public final class FormsApi extends Object implements EndpointCategoryThe API for making structured REST API calls to the "FormsApi" endpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFormsApi.DownloadFormFilesHandler for thedownloadFormFilesAPI method that lets you choose the content type via theAcceptheader.classFormsApi.DownloadSingleFormFileHandler for thedownloadSingleFormFileAPI method that lets you choose the content type via theAcceptheader.classFormsApi.GetSingleFormHandler for thegetSingleFormAPI method that lets you choose the content type via theAcceptheader.classFormsApi.GetSingleFormFileHandler for thegetSingleFormFileAPI method that lets you choose the content type via theAcceptheader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcategory()FormsApi.DownloadFormFilesdownloadFormFiles(UUID clientUuid, UUID formUuid)Download all form files of a form given by its UUID.FormsApi.DownloadSingleFormFiledownloadSingleFormFile(UUID clientUuid, UUID formUuid, UUID fileUuid)Download a single form files.FormsApi.GetSingleFormgetSingleForm(UUID clientUuid, UUID formUuid)Single form given by its UUID.FormsApi.GetSingleFormFilegetSingleFormFile(UUID clientUuid, UUID formUuid, UUID fileUuid)Retrieve a form file given by its UUID.
-
-
-
Constructor Detail
-
FormsApi
public FormsApi(ApiClient apiClient)
Creates a new API handler that uses the given client to send the HTTP requests.- Parameters:
apiClient- The client to use for HTTP requests.
-
-
Method Detail
-
category
public String category()
- Specified by:
categoryin interfaceEndpointCategory- Returns:
- The name of this category.
-
downloadFormFiles
public FormsApi.DownloadFormFiles downloadFormFiles(UUID clientUuid, UUID formUuid) throws IllegalArgumentException
Download all form files of a form given by its UUID. Download all form files of a form with the UUID given by the path parameter in a single zip file.- Parameters:
clientUuid- (required)formUuid- (required)- Returns:
- A handler for making a call to the API with a given content type (accept header).
- Throws:
IllegalArgumentException- When a required parameter is missing or a parameter does not confirm to the expected format.
-
downloadSingleFormFile
public FormsApi.DownloadSingleFormFile downloadSingleFormFile(UUID clientUuid, UUID formUuid, UUID fileUuid) throws IllegalArgumentException
Download a single form files. Download a single form file with the UUID given by the path parameter.- Parameters:
clientUuid- (required)formUuid- (required)fileUuid- (required)- Returns:
- A handler for making a call to the API with a given content type (accept header).
- Throws:
IllegalArgumentException- When a required parameter is missing or a parameter does not confirm to the expected format.
-
getSingleForm
public FormsApi.GetSingleForm getSingleForm(UUID clientUuid, UUID formUuid) throws IllegalArgumentException
Single form given by its UUID. Retrieves the form with the UUID given by the path parameter- Parameters:
clientUuid- (required)formUuid- (required)- Returns:
- A handler for making a call to the API with a given content type (accept header).
- Throws:
IllegalArgumentException- When a required parameter is missing or a parameter does not confirm to the expected format.
-
getSingleFormFile
public FormsApi.GetSingleFormFile getSingleFormFile(UUID clientUuid, UUID formUuid, UUID fileUuid) throws IllegalArgumentException
Retrieve a form file given by its UUID. Retrieves the form file of the form with the UUID given by the path parameter.- Parameters:
clientUuid- (required)formUuid- (required)fileUuid- (required)- Returns:
- A handler for making a call to the API with a given content type (accept header).
- Throws:
IllegalArgumentException- When a required parameter is missing or a parameter does not confirm to the expected format.
-
-