getDeliverabilityTestReport method
Future<GetDeliverabilityTestReportResponse>
getDeliverabilityTestReport({
- required String reportId,
Retrieve the results of a predictive inbox placement test.
May throw TooManyRequestsException. May throw NotFoundException. May throw BadRequestException.
Parameter reportId
:
A unique string that identifies the predictive inbox placement test.
Implementation
Future<GetDeliverabilityTestReportResponse> getDeliverabilityTestReport({
required String reportId,
}) async {
ArgumentError.checkNotNull(reportId, 'reportId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v1/email/deliverability-dashboard/test-reports/${Uri.encodeComponent(reportId)}',
exceptionFnMap: _exceptionFns,
);
return GetDeliverabilityTestReportResponse.fromJson(response);
}