terminateSeriesWithHttpInfo method
Performs an HTTP 'POST /api/v1/Appointments/{recurrenceId}/TerminateSeries' operation and returns the Response
.
Parameters:
Implementation
Future<Response> terminateSeriesWithHttpInfo(int recurrenceId,
{required Object authorization}) async {
// ignore: prefer_const_declarations
final path = r'/api/v1/Appointments/{recurrenceId}/TerminateSeries'
.replaceAll('{recurrenceId}', recurrenceId.toString());
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
headerParams[r'authorization'] = parameterToString(authorization);
const authNames = <String>[];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
null,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes[0],
authNames,
);
}