statsProjectChronicCreateWithHttpInfo method
Future<Response>
statsProjectChronicCreateWithHttpInfo(
- String id,
- ProjectStatistics projectStatistics
Chronic statistics for single project and all models of that project.
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required):
-
ProjectStatistics projectStatistics (required):
Implementation
Future<Response> statsProjectChronicCreateWithHttpInfo(
String id,
ProjectStatistics projectStatistics,
) async {
// ignore: prefer_const_declarations
final path = r'/api/stats/project/{id}/chronic/'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = projectStatistics;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}