GET api/measurements/{measId}/impulses/{impulseId}

Gets the impulse by impulse identifier and measurement identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
measId

The measurement identifier.

integer

Required

impulseId

The impulse identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ImpulseEventViewModel
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

None.

SiteId

Gets or sets the site identifier.

integer

None.

MeasurementId

Gets or sets the measurement identifier.

integer

None.

Start

Gets or sets the start.

date

None.

End

Gets or sets the end.

date

None.

Duration

Gets or sets the duration in seconds.

decimal number

None.

DataMin

Gets or sets the data minimum.

decimal number

None.

DataAvg

Gets or sets the data average.

decimal number

None.

DataMax

Gets or sets the data maximum.

decimal number

None.

Threshold

Gets or sets the threshold.

integer

None.

UserUnits

Gets or sets the units.

string

Max length: 12

IntervalLength

Gets or sets the length of the interval in microseconds.

integer

None.

TimeOfMin

date

None.

TimeOfMax

date

None.

Severity

decimal number

None.

Rank

integer

None.

Links

Gets the links.

Collection of LinkModel

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "siteId": 2,
  "measurementId": 3,
  "start": "2024-11-21T08:45:14.0780116+00:00",
  "end": "2024-11-21T08:45:14.0780116+00:00",
  "duration": 1.0,
  "dataMin": 1.1,
  "dataAvg": 1.1,
  "dataMax": 1.1,
  "threshold": 1,
  "userUnits": "sample string 5",
  "intervalLength": 1,
  "timeOfMin": "2024-11-21T08:45:14.0780116+00:00",
  "timeOfMax": "2024-11-21T08:45:14.0780116+00:00",
  "severity": 1.1,
  "rank": 1,
  "data": []
}

application/xml, text/xml

Sample:
<ImpulseEventViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <DataAvg>1.1</DataAvg>
  <DataMax>1.1</DataMax>
  <DataMin>1.1</DataMin>
  <Duration>1</Duration>
  <End xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:45:14.0780116Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </End>
  <Id>1</Id>
  <IntervalLength>1</IntervalLength>
  <MeasurementId>3</MeasurementId>
  <Rank>1</Rank>
  <Severity>1.1</Severity>
  <SiteId>2</SiteId>
  <Start xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:45:14.0780116Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Start>
  <Threshold>1</Threshold>
  <TimeOfMax xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:45:14.0780116Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </TimeOfMax>
  <TimeOfMin xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:45:14.0780116Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </TimeOfMin>
  <UserUnits>sample string 5</UserUnits>
</ImpulseEventViewModel>