beit_api_warehouse_store_service 1.0.0 copy "beit_api_warehouse_store_service: ^1.0.0" to clipboard
beit_api_warehouse_store_service: ^1.0.0 copied to clipboard

unlistedoutdated

Dart API client for warehouse store service

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: 0.1
  • Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://www.beit.io

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 = AppMeteringApiApi();
final meterId = 789; // int | 

try {
    final result = api_instance.getDeviceDataDetails(meterId);
    print(result);
} catch (e) {
    print('Exception when calling AppMeteringApiApi->getDeviceDataDetails: $e\n');
}

Documentation for API Endpoints #

All URIs are relative to http://localhost

Class Method HTTP request Description
AppMeteringApiApi getDeviceDataDetails GET /app/metering/{meterId} Gets data of device by id, including last value
AppMeteringApiApi getDeviceValues GET /app/metering/{deviceId}/values/{channel}
AppMeteringApiApi getDevices GET /app/metering/ Gets basic data of devices
AppMeteringApiApi insertValues POST /app/metering/{deviceId}/values

Documentation For Models #

  • AppValueInsertDTO
  • ConsumptionAppDTO
  • DeviceMobileDetailDTO
  • HistoryConsumptionAppDTO
  • ValueDTO

Documentation For Authorization #

All endpoints do not require authorization.

Author #

admin@beit.io

0
likes
0
points
1.31k
downloads

Publisher

unverified uploader

Weekly Downloads

Dart API client for warehouse store service

License

unknown (license)

Dependencies

http, intl, meta

More

Packages that depend on beit_api_warehouse_store_service