apiV3ProfileUpdatePartialUpdateWithHttpInfo method

Future<Response> apiV3ProfileUpdatePartialUpdateWithHttpInfo({
  1. Object? body,
})

{ "name": "string", "first_name": "string", "last_name": "string", "phone_number": "string", "email": "user@example.com", "has_dbs_update_service": true, "dbs_number": "string", "dbs_date_of_issue": "2024-04-17", "dbs_scan": "string", "video": "string", "video_link": "string", "photo": "string", "postcode": "string", "has_skype": true, "experience_years": 2147483647, "experience": "string", "tagline": "string", "online_tutoring": true, "in_person_tutoring": true, "profile_photo_rejected": true, "profile_submitted": true, "statement_confirmation": true, "handbook": true, "tutor_ID_image": "string", "tutor_cv": "pdf" }

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> apiV3ProfileUpdatePartialUpdateWithHttpInfo({ Object? body, }) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v3/profile-update/';

  // ignore: prefer_final_locals
  Object? postBody = body;

  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,
    'PATCH',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}