doImportWithHttpInfo method
import document
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> doImportWithHttpInfo(String documentId, String hcpId, String language, String protocolIds, String formIds, String planOfActionId, String enckeys, ContactDto ctc,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/be_result_import/import/{documentId}/{hcpId}/{language}'
.replaceAll('{documentId}', documentId)
.replaceAll('{hcpId}', hcpId)
.replaceAll('{language}', language);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'protocolIds', protocolIds));
queryParams.addAll(_queryParams('', 'formIds', formIds));
queryParams.addAll(_queryParams('', 'planOfActionId', planOfActionId));
queryParams.addAll(_queryParams('', 'enckeys', enckeys));
queryParams.addAll(_queryParams('', 'ctc', ctc));
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}