getEmployeeStatisticsWithHttpInfo method

Future<Response> getEmployeeStatisticsWithHttpInfo(
  1. int year,
  2. int month, {
  3. required Object authorization,
})

Performs an HTTP 'GET /api/v1/EmployeeStatistics/{year}/{month}' operation and returns the Response. Parameters:

  • int year (required):

  • int month (required):

  • Object authorization:

Implementation

Future<Response> getEmployeeStatisticsWithHttpInfo(
  int year,
  int month, {
  required Object authorization,
}) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v1/EmployeeStatistics/{year}/{month}'
      .replaceAll('{year}', year.toString())
      .replaceAll('{month}', month.toString());

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

  headerParams[r'authorization'] = parameterToString(authorization);

  const authNames = <String>[];
  const contentTypes = <String>[];

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