Skip to main content

Start measurement job

POST 

/devices/:deviceId/command/go

Instructs the device to take a continuous running measurement.

Required scope(s): [devices:command]

Request

Path Parameters

    deviceId stringrequired

    The target sensor.

    Example: G111045

Body

required
    jobId stringrequired

    Identifier for the job to start measuring.

    time integerrequired

    Duration to run measurement job for in seconds.

Responses

Your request was successful.

Schema
    clientId stringrequired

    Unique identifier for the client making the request.

    res objectrequired

    Container for additional response details.

    ack integer

    Acknowledgment status; will always have a value of 1, indicating successful receipt of the request by the API and/or device.

    code string

    Response status from sensor, represented as HTTP status code.

    message string

    Status message from sensor.

    messageId string

    Unique ID (ULID) for the response message.

    sessionId stringrequired

    Session ID (ULID) associated with the client's request, providing context and traceability.

Loading...