downloadJob method

Future<void> downloadJob(
  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.

Parameters:

  • String jobId (required): Job GUID

Implementation

Future<void> downloadJob(
  String jobId,
) async {
  final response = await downloadJobWithHttpInfo(
    jobId,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}