get disruptions

This block is part of the NS group and was last modified in core v15.0.0.

get disruptions v15.0.0

Get current disruptions and engineering works on the NS network.

In pins 4 + flow
  • flow
    flow
  • Connection required
    nsconnection

    The NS connection.

  • Type
    value

    Filter on a disruption type (e.g. DISRUPTION, MAINTENANCE, CALAMITY). Leave empty for all. • Suggestions: DISRUPTION MAINTENANCE CALAMITY

  • Active only
    condition

    Only return currently active items.

    Default false

  • Language
    value

    Language for the disruptions (e.g. nl or en). Defaults to Dutch.

Out pins 5 + flow
  • flow
    flow
  • Connection
    nsconnection

    The NS connection.

  • Success
    condition

    True if the request succeeded.

  • Disruptions
    array

    The disruptions, with snake_cased fields and timestamps converted to unix.

  • Count
    number

    Number of disruptions returned.

  • Error
    value

    Error message if the request failed.

storingen
werkzaamheden
disruptions

A typical wiring for get disruptions: a function trigger starts the flow; open connection feeds the connection pin; the flow out pin feeds debug.

Studio canvas example for the get disruptions block: typical wiring for get disruptions.

Version history

Introduced in v15.0.0.


Back to NS Return to the main group to view all sub-groups Back to NS Return to the group to view all blocks within this group