lateCancellationWithHttpInfo method
Future<Response>
lateCancellationWithHttpInfo(
- int id,
- CancelledModel model, {
- required Object authorization,
Performs an HTTP 'POST /api/v1/Appointments/{id}/LateCancellation' operation and returns the Response
.
Parameters:
-
int id (required):
-
CancelledModel model (required):
-
Object authorization:
Implementation
Future<Response> lateCancellationWithHttpInfo(
int id,
CancelledModel model, {
required Object authorization,
}) async {
// ignore: prefer_const_declarations
final path = r'/api/v1/Appointments/{id}/LateCancellation'
.replaceAll('{id}', id.toString());
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
headerParams[r'authorization'] = parameterToString(authorization);
const authNames = <String>[];
const contentTypes = <String>[
'application/json',
'text/json',
'application/_*+json'
];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
model,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes[0],
authNames,
);
}