platformOrgsTimeCountRetrieveWithHttpInfo method

Future<Response> platformOrgsTimeCountRetrieveWithHttpInfo(
  1. String org
)

Total time spent count on the platform within specified range or all time Query Params 1. start_date e.g 2020-10-01 2. end_date e.g 2020-10-10 Default result is all time

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> platformOrgsTimeCountRetrieveWithHttpInfo(String org,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/platform/orgs/{org}/time/count'
    .replaceAll('{org}', org);

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];


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