RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

RTUPluginController

Controller Class for RTU Plugins

Constructor

new RTUPluginController()

Source

Methods

static

create(createData) → {Promise.<RTUPluginModel>}

Create a RTU Plugin [POST /rtu-plugins]

Parameters

  • createData RTUPluginController.CreateData

    The RTU Plugin Create Data

Returns

  • Promise.<RTUPluginModel>

Source

static

getAll(queryParametersopt) → {Promise.<Array.<RTUPluginModel>>}

List all RTU Plugins [GET /rtu-plugins]

Parameters

  • queryParameters RTUPluginController.GetAllQueryParameters <optional>

    The Optional Query Parameters

Returns

  • Promise.<Array.<RTUPluginModel>>

Source

static

getOne(id) → {Promise.<RTUPluginModel>}

Retrieve a RTU Plugin [GET /rtu-plugins/{id}]

Parameters

  • id number

    The RTU Plugin ID

Returns

  • Promise.<RTUPluginModel>

Source

static

update(id, updateData) → {Promise.<RTUPluginModel>}

Update a RTU Plugin [PATCH /rtu-plugins/{id}]

Parameters

  • id number

    The RTU Plugin ID

  • updateData RTUPluginController.UpdateData

    The RTU Plugin Update Data

Returns

  • Promise.<RTUPluginModel>

Source

Type Definitions

GetAllQueryParameters

The Optional Query Parameters for the getAll Function

Type

  • Object

Properties

  • name string <optional>

    The Plugin Name

  • companyId string <optional>

    The Company this RTU Plugin belongs to

Source

UpdateData

The Update Data for a RTU Plugin

Type

  • Object

Properties

  • name string <optional>

    The Plugin Name

  • companyId string <optional>

    The Company this RTU Plugin belongs to

Source