exportEntitiesWithHttpInfo method
Export inboxes link callable via browser
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> exportEntitiesWithHttpInfo(String exportType, String apiKey, String outputFormat, { String? filter, String? listSeparatorToken, bool? excludePreviouslyExported, DateTime? createdEarliestTime, DateTime? createdOldestTime, }) async {
// ignore: prefer_const_declarations
final path = r'/export';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'exportType', exportType));
queryParams.addAll(_queryParams('', 'apiKey', apiKey));
queryParams.addAll(_queryParams('', 'outputFormat', outputFormat));
if (filter != null) {
queryParams.addAll(_queryParams('', 'filter', filter));
}
if (listSeparatorToken != null) {
queryParams.addAll(_queryParams('', 'listSeparatorToken', listSeparatorToken));
}
if (excludePreviouslyExported != null) {
queryParams.addAll(_queryParams('', 'excludePreviouslyExported', excludePreviouslyExported));
}
if (createdEarliestTime != null) {
queryParams.addAll(_queryParams('', 'createdEarliestTime', createdEarliestTime));
}
if (createdOldestTime != null) {
queryParams.addAll(_queryParams('', 'createdOldestTime', createdOldestTime));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}