rawUpdateFormTemplateWithHttpInfo method
Future<Response>
rawUpdateFormTemplateWithHttpInfo(
- String formTemplateId,
- FormTemplateDto formTemplateDto
Modify a form template with the current user
Returns an instance of created form template.
Note: This method returns the HTTP Response
.
Parameters:
-
String formTemplateId (required):
-
FormTemplateDto formTemplateDto (required):
Implementation
Future<Response> rawUpdateFormTemplateWithHttpInfo(String formTemplateId, FormTemplateDto formTemplateDto,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/form/template/{formTemplateId}'.replaceAll('{formTemplateId}', formTemplateId);
// ignore: prefer_final_locals
Object? postBody = formTemplateDto;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}