Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeasurementService

Hierarchy

Index

Constructors

constructor

Methods

create

  • Parameters

    Returns Object

    Response wrapped in IResult

    Example

    
     const mandantoryObject: Partial<IMeasurementCreate> = {
       sourceId: device.id,
       fragment: { series: { unit: '%', value: 51 } },
     };
    
     (async () => {
       const {data, res} = await measurementService.create(mandantoryObject);
     })();
    

delete

  • delete(entityOrId: string | number | IIdentified): Object
  • Parameters

    Returns Object

    Response wrapped in IResult

detail

  • detail(entityOrId: string | number | IIdentified): Object
  • Parameters

    Returns Object

    Response wrapped in IResult

list

  • list(filter?: object): Object
  • Parameters

    • Default value filter: object = {}

    Returns Object

    Response wrapped in IResultList

listSeries

Generated using TypeDoc