Contact Us

    If you still have questions or prefer to get help directly from an agent, please submit a request.
    We’ll get back to you as soon as possible.

    Please fill out the contact form below and we will reply as soon as possible.

    • Digital Matter Site
    • Contact Us

    Running Tasks on the HAWK using the API - 0x0104

    Written by Iman Kareem

    Updated at March 27th, 2025

      Contact Us

      If you still have questions or prefer to get help directly from an agent, please submit a request.
      We’ll get back to you as soon as possible.

      Contact Support
      • Home
      • Device Manager
      • Device Manager API
      • Device Control - Asynchronous Messages

      Table of Contents

      Before you start Description Payload cURL Example

      Before you start

      Ensure you have reviewed:

      • Welcome to the Device Manager API
      • Device Manager ASYNC Messaging Architecture

      A full list of API calls can be found at: https://api.oemserver.com/swagger/index.html.

       

      Description

      This message can be used to run a Hawk task ‘on demand’. 

      Requires Hawk baseboard firmware 1.6 or above. 

      Payload

      Payload: 1 byte task number (1-based)

      cURL Example

      Example: Run task 1.

      curl -X 'POST' \
        'https://api.oemserver.com/v1/AsyncMessaging/Send?serial=439705' \
        -H 'accept: text/plain' \
        -H 'Authorization: Basic XXXXXXXXXXXXXXXXXXX' \
        -H 'Content-Type: application/json' \
        -d '{
        "MessageType": 260,
        "CANAddress": 4294967295,
        "ExpiryDateUTC": "2025-04-26T23:52:12.126Z", 
        "Data": [1]
      }'
      hawk automation execute operations

      Was this article helpful?

      Yes
      No
      Give feedback about this article

      Related Articles

      • Hawk - Configure Action on Digital Input Change

      Subscribe to Partner News

      Subscribe to our mailing list to receive Digital Matter news, product and tehnical updates, and more.

      Subscribe

      Copyright © Digital Matter . All Rights Reserved.

      Privacy Contact Support

      Knowledge Base Software powered by Helpjuice

      DM Logo
      Expand