warehouse-store-service-api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: v0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
Requirements
Dart 2.12 or later
Installation & Usage
Github
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
warehouse-store-service-api:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
Local
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
warehouse-store-service-api:
path: /path/to/warehouse-store-service-api
Tests
TODO
Getting Started
Please follow the installation procedure and then run the following:
import 'package:warehouse-store-service-api/api.dart';
final api_instance = AppMeteringControllerApi();
final meterId = 789; // int |
try {
final result = api_instance.getDeviceDataDetails(meterId);
print(result);
} catch (e) {
print('Exception when calling AppMeteringControllerApi->getDeviceDataDetails: $e\n');
}
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AppMeteringControllerApi | getDeviceDataDetails | GET /app/metering/{meterId} | |
| AppMeteringControllerApi | getDeviceValues | GET /app/metering/{deviceId}/values/{channel} | |
| AppMeteringControllerApi | getDevices | GET /app/metering/ | |
| AppMeteringControllerApi | insertValues | POST /app/metering/{deviceId}/values |
Documentation For Models
- AppValueInsertDTO
- ConsumptionAppDTO
- DeviceMobileDetailDTO
- FileTransferDTO
- HistoryConsumptionAppDTO
- ValidationErrorDTO
- ValidationErrorsDTO
- ValueDTO
Documentation For Authorization
All endpoints do not require authorization.