isSumehrV2ValidWithHttpInfo method
Future<Response>
isSumehrV2ValidWithHttpInfo(
- String patientId,
- SumehrExportInfoDto sumehrExportInfoDto
Get sumehr validity
Note: This method returns the HTTP Response
.
Parameters:
-
String patientId (required):
-
SumehrExportInfoDto sumehrExportInfoDto (required):
Implementation
Future<Response> isSumehrV2ValidWithHttpInfo(String patientId, SumehrExportInfoDto sumehrExportInfoDto,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/be_kmehr/sumehrv2/{patientId}/valid'
.replaceAll('{patientId}', patientId);
// ignore: prefer_final_locals
Object? postBody = sumehrExportInfoDto;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}