apiV2TutorInvitationsCreateWithHttpInfo method
Future<Response>
apiV2TutorInvitationsCreateWithHttpInfo(
- TutorInvitationCreate tutorInvitationCreate
Please use invitation_dates, start_time, and end_time have been deprecated When start_time and end_time have values, invitation_dates will be ignored
Note: This method returns the HTTP Response.
Parameters:
- TutorInvitationCreate tutorInvitationCreate (required):
Implementation
Future<Response> apiV2TutorInvitationsCreateWithHttpInfo(TutorInvitationCreate tutorInvitationCreate,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/tutor/invitations/';
// ignore: prefer_final_locals
Object? postBody = tutorInvitationCreate;
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,
);
}