downloadExportWithHttpInfo method
Download an export file
Downloads an export file. Minimum server version: 5.33 ##### Permissions Must have manage_system
permissions.
Note: This method returns the HTTP Response
.
Parameters:
- String exportName (required): The name of the export file to download
Implementation
Future<Response> downloadExportWithHttpInfo(
String exportName,
) async {
// ignore: prefer_const_declarations
final path = r'/exports/{export_name}'.replaceAll('{export_name}', exportName);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}