Create new metric data.
|
tz
string
Optional parameter to set time zone information. |
This object takes all the parameters needed to create a new trend value.
System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList|
ID
globally unique identifier
Required on Update
ID of the Metric Data. |
|
MetricID
globally unique identifier
Required on Create
ID of the metric. |
|
Date
date
Required
Date of the metric data |
|
Value
decimal number
Required
Value of the metric data |
|
MetricName
string
ReadOnly
Name of the metric. |
|
ArchiveID
globally unique identifier
ReadOnly
ID of the archive were the metric data is stored. |
|
ArchiveName
string
ReadOnly
Name of the archive were the metric data is stored. |
|
ArchiveDate
date
ReadOnly
Date the metric data was archived. |
<TrendValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
<ID>ef824fe1-5dc6-4b70-82ba-4a2b1d16b787</ID>
<MetricID>2c88eb26-2885-42da-8dd0-e27611547037</MetricID>
<Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-25T20:02:42.9588328Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</Date>
<Value>1</Value>
</TrendValue>
{
"ID": "ef824fe1-5dc6-4b70-82ba-4a2b1d16b787",
"MetricID": "2c88eb26-2885-42da-8dd0-e27611547037",
"Date": "2025-12-25T20:02:42.9588328+00:00",
"Value": 1.0
}
|
ID
globally unique identifier
Required on Update
ID of the Metric Data. |
|
MetricID
globally unique identifier
Required on Create
ID of the metric. |
|
Date
date
Required
Date of the metric data |
|
Value
decimal number
Required
Value of the metric data |
|
MetricName
string
ReadOnly
Name of the metric. |
|
ArchiveID
globally unique identifier
ReadOnly
ID of the archive were the metric data is stored. |
|
ArchiveName
string
ReadOnly
Name of the archive were the metric data is stored. |
|
ArchiveDate
date
ReadOnly
Date the metric data was archived. |
<TrendValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
<ID>690377d5-b224-4b48-b062-9d267ab8b923</ID>
<MetricID>64025761-6e91-449e-83b4-572e83ba2ba2</MetricID>
<Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-25T20:02:42.9588328Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</Date>
<Value>1</Value>
<MetricName>sample string 1</MetricName>
<ArchiveID>ad01cb48-0efa-4bf9-87ac-3aba27fb622f</ArchiveID>
<ArchiveName>sample string 2</ArchiveName>
<ArchiveDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-25T20:02:42.9588328Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ArchiveDate>
</TrendValue>
{
"ID": "690377d5-b224-4b48-b062-9d267ab8b923",
"MetricID": "64025761-6e91-449e-83b4-572e83ba2ba2",
"Date": "2025-12-25T20:02:42.9588328+00:00",
"Value": 1.0,
"MetricName": "sample string 1",
"ArchiveID": "ad01cb48-0efa-4bf9-87ac-3aba27fb622f",
"ArchiveName": "sample string 2",
"ArchiveDate": "2025-12-25T20:02:42.9588328+00:00"
}