/labelpartners/{labelpartner}/streamer/continuous-dynamic-reporting/configuration
Sets the configuration of continuous dynamic reporting for all devices registered to a specific label partner. IDD data is always reported regardless of configuration. The configuration includes the following parameters:
is_csd_enabled: A boolean flag indicating whether CSD will be reported in the continuous dynamic reporting stream.is_csr_enabled: A boolean flag indicating whether CSR will be reported in the continuous dynamic reporting stream.is_gas_enabled: A boolean flag indicating whether GAS will be reported in the continuous dynamic reporting stream.power_threshold: An integer indicating the value that the IDD must surpass in order for it to be reported.is_daytime_enabled: A flag indicating whether or not a filter will be used to report data for daytime only or all day.
The label partner short name
defaultConfiguration for Continuous Dynamic Reporting. IDD data is always reported regardless of configuration.
A boolean flag indicating whether CSD will be reported in the continuous dynamic reporting stream.
A boolean flag indicating whether CSR will be reported in the continuous dynamic reporting stream.
A boolean flag indicating whether GAS will be reported in the continuous dynamic reporting stream.
The power threshold in Watts that the IDD must surpass in order for it to be reported.
A boolean flag indicating whether a daytime filter is applied, reporting data for daytime only. If false, data is reported all day.
Successful operation
The success message returned.
Invalid request:
- Request body is required but was not provided.
- Schema validation failed due to error: Missing required key: '{key}'
- Schema validation failed due to error: Invalid key: '{key}'
- Schema validation failed due to error: Invalid type for key: '{key}'
- Schema validation failed due to error: Invalid value for key: '{key}'
- Dynamic reporting is disabled for the label partner '{labelpartner}'
Not found:
- The thing group '{labelpartner}' was not found in the registry.
- The thing group '{labelpartner}' does not have any IoT Things associated with it.
Internal server error
PUT /v2/labelpartners/{labelpartner}/streamer/continuous-dynamic-reporting/configuration HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"is_csd_enabled": true,
"is_csr_enabled": true,
"is_gas_enabled": true,
"power_threshold": 100,
"is_daytime_enabled": true
}{
"message": "Successfully set the continuous dynamic reporting configuration for label partner 'default'"
}Last updated
Was this helpful?

