getAssetsByIdStatisticsWithHttpInfo method
Get statistics for all assets the user has access to
Note: This method returns the HTTP Response.
Parameters:
- String companyId (required): Unique identifier for the Company
Implementation
Future<Response> getAssetsByIdStatisticsWithHttpInfo(String companyId,) async {
// ignore: prefer_const_declarations
final path = r'/companies/{company_id}/assets/statistics'
.replaceAll('{company_id}', companyId);
// 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,
);
}