getInfosWithHttpInfo method

Future<Response> getInfosWithHttpInfo(
  1. String id,
  2. String language,
  3. String enckeys, {
  4. bool? full,
})

Extract general infos from document

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> getInfosWithHttpInfo(String id, String language, String enckeys, { bool? full, }) async {
  // ignore: prefer_const_declarations
  final path = r'/rest/v1/be_result_import/infos/{id}'.replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'language', language));
    queryParams.addAll(_queryParams('', 'enckeys', enckeys));
  if (full != null) {
    queryParams.addAll(_queryParams('', 'full', full));
  }

  const authNames = <String>[r'basicSchema'];
  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
    authNames,
  );
}