exportMedidocWithHttpInfo method
Export data
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> exportMedidocWithHttpInfo(String fromHcpId, String toHcpId, String patId, int date, String ref, List<String> requestBody,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/be_result_export/medidoc/{fromHcpId}/{toHcpId}/{patId}/{date}/{ref}'
.replaceAll('{fromHcpId}', fromHcpId)
.replaceAll('{toHcpId}', toHcpId)
.replaceAll('{patId}', patId)
.replaceAll('{date}', date.toString())
.replaceAll('{ref}', ref);
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>['application/octet-stream'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}