Skip to main content

Get Event Rule

GET 

/organizations/:organizationId/event-rules/:eventRuleId

Get event rule

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

    eventRuleId stringrequired

    The ID of event rule.

Responses

Schema
    data objectrequired

    Data of the event rule.

    name stringrequired
    description stringrequired
    stage stringrequired
    status stringrequired
    targetName stringrequired
    expression stringrequired
    hashtags string[]required
    conditions object[]required
  • Array [
  • assetId stringrequired
    property stringrequired
    symbol stringrequired
    valueDataType stringrequired
    value stringrequired
    operator stringrequired
  • ]
  • devices string[]required
    period objectrequired
    startTime objectrequired
    endTime objectrequired
    dayOfWeek string[]required
    dayOfMonth number[]required
    actions object[]required
  • Array [
  • type stringrequired
    parameters objectrequired
    name stringrequired
    assetId stringrequired
    confirmed booleanrequired
    fPort numberrequired
    payload stringrequired
    payloadDataType stringrequired
  • ]
  • createdBy stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
    updatedAtDateString stringrequired
    updatedAt numberrequired
Loading...