getSumehrV2ContentWithHttpInfo method
Future<Response>
getSumehrV2ContentWithHttpInfo(
- String patientId,
- SumehrExportInfoDto sumehrExportInfoDto
Get sumehr elements
Note: This method returns the HTTP Response
.
Parameters:
-
String patientId (required):
-
SumehrExportInfoDto sumehrExportInfoDto (required):
Implementation
Future<Response> getSumehrV2ContentWithHttpInfo(String patientId, SumehrExportInfoDto sumehrExportInfoDto,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/be_kmehr/sumehrv2/{patientId}/content'.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,
);
}