-
Notifications
You must be signed in to change notification settings - Fork 0
timestreams.create_measurementsForBlog XML RPC procedure
Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.create_measurements XML-RPC API procedure.
A POST request containing this procedure name will create a new measurement container for a given blog's device. This allows measurements to subsequently be added to the container. Calling this procedure returns the name of the newly created measurement container.
The following is the procedure call signature required to create a new measurements container:
<methodCall> <methodName>timestreams.create_measurementsForBlog</methodName> <params> <param><value><string>User Name</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>Measurement Type</string></value></param> <param><value><string>Minimum Value</string></value></param> <param><value><string>Maximum Value</string></value></param> <param><value><string>Unit</string></value></param> <param><value><string>Unit Symbol</string></value></param> <param><value><string>Device Details</string></value></param> <param><value><string>Other Information</string></value></param> <param><value><string>Data Type</string></value></param> <param><value><string>Missing Data Value</string></value></param> <param><value><string>Site ID</string></value></param> <param><value><string>Blog ID</string></value></param> </params> </methodCall>
Parameter | Description |
---|---|
User Name | Name of blog user |
Password | Password of blog user |
Measurement Type | The type of measurement |
Minimum Value | Lowest legal value for this type of measurement |
Maximum Value | Highest legal value for this type of measurement |
Unit | Unit of measurement (such as "Celsius") |
Unit Symbol | Related symbol to the unit of measurement (such as "C") |
Device Details | Information pertaining to the device that took the measurement |
Other Information | Anything else useful to know about this measurement container |
Data Type | Any legal MySQL data type (usually a numeric type such as "DECIMAL(4,1)") |
Missing Data Value | A value of the same type as Data Type which represents an unknown quantity for record. |
Site ID | The id of the site that the measurement container should belong to. |
Blog ID | The id of the blog that the measurement container should belong to. |