createInboxWithOptionsWithHttpInfo method

Future<Response> createInboxWithOptionsWithHttpInfo(
  1. CreateInboxDto createInboxDto
)

Create an inbox with options. Extended options for inbox creation.

Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> createInboxWithOptionsWithHttpInfo(CreateInboxDto createInboxDto,) async {
  // ignore: prefer_const_declarations
  final path = r'/inboxes/withOptions';

  // ignore: prefer_final_locals
  Object? postBody = createInboxDto;

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

  const contentTypes = <String>['application/json'];


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