Send message (to serial field application) (POST)
https://core.rock7.com/API2/SendSerialMessage/{serial}
Parameter | Type | Description | Example/Possible Values |
---|---|---|---|
PATH PARAMS | |||
serial | string | required Serial number of RockFLEET/YB3i or RockAIR device | Add a path param |
QUERY PARAMS | |||
data | string | The message to send to the connected field application. Hex-encoded binary. | 48656c6c6f20576f726c64 (Example for "Hello World" in hex) |
Example with Parameters
curl --request POST \
--url 'https://core.rock7.com/API2/SendSerialMessage/12345?data=48656c6c6f20576f726c64&username=myUsername&password=myPassword' \
--header 'accept: application/xml'