bv-api-key: ********************{
"method": 1,
"productId": "ovw9GOl46TSqbedc",
"deviceId": "b28baf9c-40cc-4fe7-9488-8bc28f28717f",
"identifier": "PowerOverload",
"deviceStatus": {% mock 'integer', 0, 1 %},
"payload": {
"ratedPower": {% mock 'natural', 1000, 3000 %},
"currentPower": {% mock 'natural', 500, 1500 %}
}
}curl --location 'http://192.168.100.38:48083/bv-universal-gateway/api/accessGateway/rawDataToProtocol' \
--header 'bv-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"method": 1,
"productId": "ovw9GOl46TSqbedc",
"deviceId": "b28baf9c-40cc-4fe7-9488-8bc28f28717f",
"identifier": "PowerOverload",
"deviceStatus": {% mock '\''integer'\'', 0, 1 %},
"payload": {
"ratedPower": {% mock '\''natural'\'', 1000, 3000 %},
"currentPower": {% mock '\''natural'\'', 500, 1500 %}
}
}'{
"code": 0,
"message": "string",
"info": null
}