toolsOzoneReportReassignQueue function

Future<XRPCResponse<ReportReassignQueueOutput>> toolsOzoneReportReassignQueue({
  1. required int reportId,
  2. required int queueId,
  3. String? comment,
  4. required ServiceContext $ctx,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.

Implementation

Future<XRPCResponse<ReportReassignQueueOutput>> toolsOzoneReportReassignQueue({
  required int reportId,
  required int queueId,
  String? comment,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.toolsOzoneReportReassignQueue,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'reportId': reportId,
    'queueId': queueId,
    if (comment != null) 'comment': comment,
  },
  to: const ReportReassignQueueOutputConverter().fromJson,
);