postFrameworkModulesByModuleInstallWithHttpInfo method
Creates an app lane's DocTypes in the caller's org.
Creates an app lane's DocTypes in the caller's org. Idempotent and create-if-absent: a DocType the org already has is reported as existing and never replaced, so re-installing cannot clobber a definition the org has since edited. Manager-only.
Note: This method returns the HTTP Response.
Parameters:
- String module (required): Module is the lane's registered name ("cms", "erp"), from the path.
Implementation
Future<Response> postFrameworkModulesByModuleInstallWithHttpInfo(String module,) async {
// ignore: prefer_const_declarations
final path = r'/v1/framework/modules/{module}/install'
.replaceAll('{module}', module);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}