solarnetwork-api-core
    Preparing search index...

    Interface InstructionInfo

    An instruction information object.

    interface InstructionInfo {
        created: string;
        id: number;
        instructionDate: string;
        nodeId: number;
        parameters?: InstructionParameter[];
        resultParameters?: Record<string, any>;
        state:
            | "Unknown"
            | "Queued"
            | "Queuing"
            | "Received"
            | "Executing"
            | "Declined"
            | "Completed";
        statusDate: string;
        topic: string;
    }

    Implemented by

    Index

    Properties

    created: string

    The instruction creation date.

    id: number

    A unique identifier.

    instructionDate: string

    The instruction action date.

    nodeId: number

    The ID of the node the instruction targets.

    parameters?: InstructionParameter[]

    Parameters for the instruction.

    resultParameters?: Record<string, any>

    Result parameters returned with the instruction status update.

    state:
        | "Unknown"
        | "Queued"
        | "Queuing"
        | "Received"
        | "Executing"
        | "Declined"
        | "Completed"

    The instruction state.

    statusDate: string

    The last instruction status change date.

    topic: string

    The instruction topic.