Skip to main content

Get cabinets consumption

GET 

/workspaces/:workspace_id/consumption/cabinets

This endpoint returns the consumption data for the workspace cabinets.

Request

Path Parameters

    workspace_id stringrequired

    Workspace ID

Query Parameters

    start date-timerequired

    Start date of the data range

    end date-timerequired

    End date of the data range

    s string

    Shift ID

Responses

OK response.

Schema

    cabinets

    object[]

    Cabinets of the workspace

  • Array [

  • alarm booleanrequired

    Alarm status of the cabinet

    asset_type stringrequired

    Type of the cabinet

    id stringrequired

    ID of the cabinet

    last_data_ts string

    Last data timestamp

    name stringrequired

    Name of the cabinet

    status stringrequired

    Status of the cabinet

  • ]

Loading...