Operation: reporting::measureClearSampleData

General Description

Deletes all the sample data associated with the specified measure(s) and optionally forces a complete re-sample of the data.

Operation Notes

System Privileges Mail Privileges Calendar Privileges Database Privileges
-- -- db.[default_db].h_data_measures.browse

Request Message

Input Parameters

The measureClearSampleData method takes the following input parameters. It is important to note that the parameters must be passed to the operation in the same order as they appear here in order to satisfy the requirement of the input validation checks.

Name Type Attributes Description
measureId xs:unsignedInt required
The unique identifier for the measure(s) you wish to delete
status measureStatusType optional
This sets the status of the measure after the deletion of the sample data. Set to 'suspended' (the default) if you don't want the server to start sampling the measure data from the current time, or set to 'resample' if you want to have the server re-sample the data for this measure.
nextSampleTime xs:dateTime optional If you set the status to running or re-sample, you can specify the time for the sampling to start from. If you do not specify this and you set the status to running, the server will attempt to identify the oldest data in the data source and start sampling from that point.

Input Data

Response Message

Output Parameters

There are no output parameters returned

Output Data

Code Generation & Samples

The links below will generate sample code in the respective languages. You can use these links as a convenient way of generating the correct code needed to invoke this method

JavaScript   PHP   C#   Java   C++   [ hide code ]  

Powered by Hornbill, for more information click here. (page served by Esp.demo.ServerService,