Running Tasks on the HAWK using the API - 0x0104
Table of Contents
Before you start
Ensure you have reviewed:
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]
}'