apiV2TutorSmscreateCreateWithHttpInfo method

Future<Response> apiV2TutorSmscreateCreateWithHttpInfo(
  1. CreateSMSAccountRequestDTO createSMSAccountRequestDTO
)

Main Tutor Viewset used for create user through SMS Tutors list on /search-results, /post/sign-up and landing pages Tutor details on /tutor/{subject}/{level}/{tutor} Tutor creating - /teach-with-us (become a tutor page)

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> apiV2TutorSmscreateCreateWithHttpInfo(CreateSMSAccountRequestDTO createSMSAccountRequestDTO,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v2/tutor/smscreate/';

  // ignore: prefer_final_locals
  Object? postBody = createSMSAccountRequestDTO;

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

  const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];


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