Request Information

URI Parameters

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
id globally unique identifier Required

Guid ID of the trend value to update.

tz string

Optional parameter to set time zone information.

Body Parameters (TrendValue)

This object takes all the parameters needed to update a 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.

Request Formats

application/xml, text/xml

Sample
<TrendValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>46eea731-2ac6-4c07-8c39-00dd34362760</ID>
  <MetricID>8ed2db72-4e42-4d71-99d1-a12e5305a82b</MetricID>
  <Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2021-11-03T19:11:32.5713117Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Date>
  <Value>1</Value>
</TrendValue>

application/json, text/json

Sample
{
  "ID": "46eea731-2ac6-4c07-8c39-00dd34362760",
  "MetricID": "8ed2db72-4e42-4d71-99d1-a12e5305a82b",
  "Date": "2021-11-03T19:11:32.5713117+00:00",
  "Value": 1.0
}

Response Information

Resource Description (TrendValue)

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.

Response Formats

application/xml, text/xml

Sample
<TrendValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>6193553e-16c2-41c7-9187-e8c14d4aa280</ID>
  <MetricID>de0bfed5-db3b-469d-a017-c46f0efa779b</MetricID>
  <Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2021-11-03T19:11:32.5713117Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Date>
  <Value>1</Value>
  <MetricName>sample string 1</MetricName>
  <ArchiveID>7a3adc04-dfc0-42c5-bf6e-b8c03a9b397d</ArchiveID>
  <ArchiveName>sample string 2</ArchiveName>
  <ArchiveDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2021-11-03T19:11:32.5713117Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ArchiveDate>
</TrendValue>

application/json, text/json

Sample
{
  "ID": "6193553e-16c2-41c7-9187-e8c14d4aa280",
  "MetricID": "de0bfed5-db3b-469d-a017-c46f0efa779b",
  "Date": "2021-11-03T19:11:32.5713117+00:00",
  "Value": 1.0,
  "MetricName": "sample string 1",
  "ArchiveID": "7a3adc04-dfc0-42c5-bf6e-b8c03a9b397d",
  "ArchiveName": "sample string 2",
  "ArchiveDate": "2021-11-03T19:11:32.5713117+00:00"
}