downloadJobWithHttpInfo method

Future<Response> downloadJobWithHttpInfo(
  1. String jobId
)

Download the results of a job.

Download the result of a single job. Minimum server version: 5.28 ##### Permissions Must have manage_jobs permission.

Note: This method returns the HTTP Response.

Parameters:

  • String jobId (required): Job GUID

Implementation

Future<Response> downloadJobWithHttpInfo(
  String jobId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/jobs/{job_id}/download'.replaceAll('{job_id}', jobId);

  // 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,
  );
}