getEmailTemplateRenderErrorsWithHttpInfo method

Future<Response> getEmailTemplateRenderErrorsWithHttpInfo(
  1. String tenantId,
  2. String id, {
  3. double? skip,
})

Performs an HTTP 'GET /api/v1/email-templates/{id}/render-errors' operation and returns the Response. Parameters:

Implementation

Future<Response> getEmailTemplateRenderErrorsWithHttpInfo(String tenantId, String id, { double? skip, }) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v1/email-templates/{id}/render-errors'
    .replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'tenantId', tenantId));
  if (skip != null) {
    queryParams.addAll(_queryParams('', 'skip', skip));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}