getMaintenanceTaskWithHttpInfo method
Gets a maintenanceTask
Note: This method returns the HTTP Response
.
Parameters:
- String maintenanceTaskId (required):
Implementation
Future<Response> getMaintenanceTaskWithHttpInfo(String maintenanceTaskId) async {
final path = r'/rest/v1/maintenancetask/{maintenanceTaskId}'
.replaceAll('{' + 'maintenanceTaskId' + '}', maintenanceTaskId.toString());
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
final contentTypes = <String>[];
final nullableContentType = contentTypes.isNotEmpty ? contentTypes[0] : null;
final authNames = <String>[r'basicSchema'];
return await apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
nullableContentType,
authNames,
);
}