{
"device_config_id": "09c992be-93fd-3c14-5a1e-c9881b35d152",
"enable_flag": "Y",
"name": "xxxxxx",
"content": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"remark": "xxxxx",
"last_analog_input": "xxxxxxxxxxxxxxxxx",
"description": "xxxxxxxxx",
"script_type": "A"
}
curl --location --request POST 'http://127.0.0.1:9999/api/v1/data_script' \
--header 'x-token: {{x-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_config_id": "09c992be-93fd-3c14-5a1e-c9881b35d152",
"enable_flag": "Y",
"name": "xxxxxx",
"content": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"remark": "xxxxx",
"last_analog_input": "xxxxxxxxxxxxxxxxx",
"description": "xxxxxxxxx",
"script_type": "A"
}'
{"code":200,"message":"Create data_script successfully"}