getExportLinkWithHttpInfo method
Future<Response>
getExportLinkWithHttpInfo(
- String exportType,
- ExportOptions exportOptions, {
- String? apiKey,
Get export link
Note: This method returns the HTTP Response
.
Parameters:
-
String exportType (required):
-
ExportOptions exportOptions (required):
-
String apiKey:
Implementation
Future<Response> getExportLinkWithHttpInfo(String exportType, ExportOptions exportOptions, { String? apiKey, }) async {
// ignore: prefer_const_declarations
final path = r'/export';
// ignore: prefer_final_locals
Object? postBody = exportOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'exportType', exportType));
if (apiKey != null) {
queryParams.addAll(_queryParams('', 'apiKey', apiKey));
}
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}