collectUserFeedbackWithHttpInfo method
Future<Response>
collectUserFeedbackWithHttpInfo(
- String type,
- String id,
- String session,
- CollectUserFeedbackRequest collectUserFeedbackRequest,
Collect user feedback
Required permissions: - JoinCall
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
String session (required):
-
CollectUserFeedbackRequest collectUserFeedbackRequest (required):
Implementation
Future<Response> collectUserFeedbackWithHttpInfo(
String type,
String id,
String session,
CollectUserFeedbackRequest collectUserFeedbackRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/feedback/{session}'
.replaceAll('{type}', type)
.replaceAll('{id}', id)
.replaceAll('{session}', session);
// ignore: prefer_final_locals
Object? postBody = collectUserFeedbackRequest;
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,
);
}