udm_api 1.0.0

SDKflutter
Platformandroidioswindowslinuxmacosweb

Boodskap Universal Device Management API

Boodskap Universal Device Management platform API

Purpose

If you ever wanted to spin your own IoT application based on Boodskap's UDM Platform these apis will save you a ton of time. We have build the enire application based on this API

Features

  • Device

    • Create / Update / Delete Device Model
    • Create / Update / Delete Device
    • Search Device Models
    • Search Devices
  • Asset

    • Create / Update / Delete Asset Model
    • Create / Update / Delete Asset
    • Search Asset Models
    • Search Assets

Usage

Full working example is available at the /example folder.

      final Udm api = Udm.create(
        baseUrl: Uri.https('udm.boodskap.io', '/api/micro2/service/call/udm'),
      );

      api
          .searchDeviceModels(
              entity: const Search(text: '*', page: 0, size: 10),
              token: 'YOUR_AUTH_TOKEN')
          .then((value) => {
                value.body?.entities?.forEach((model) {
                  debugPrint(model.name);
                })
              });