apiV2PersonalityTestEnquiriesSendToTutorCreateWithHttpInfo method
Future<Response>
apiV2PersonalityTestEnquiriesSendToTutorCreateWithHttpInfo(
- String ref,
- SendPersonalityEnquiryToTutor sendPersonalityEnquiryToTutor
Performs an HTTP 'POST /api/v2/personality_test/enquiries/{ref}/send_to_tutor/' operation and returns the Response.
Parameters:
-
String ref (required):
-
SendPersonalityEnquiryToTutor sendPersonalityEnquiryToTutor (required):
Implementation
Future<Response> apiV2PersonalityTestEnquiriesSendToTutorCreateWithHttpInfo(String ref, SendPersonalityEnquiryToTutor sendPersonalityEnquiryToTutor,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/personality_test/enquiries/{ref}/send_to_tutor/'
.replaceAll('{ref}', ref);
// ignore: prefer_final_locals
Object? postBody = sendPersonalityEnquiryToTutor;
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,
);
}