GET WebIndicators/Shared/GetTimeseriesObservations/{timeseriesCode}

Gets the timeseries observations for a particular timeseries code. Generally used for graphing times series observations.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
timeseriesCode

e.g. MON0088A

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Observation
NameDescriptionTypeAdditional information
Period

date

None.

Timeseries

string

None.

Description

string

None.

Value

decimal number

None.

FormatNumber

string

None.

FormatDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Period": "2022-05-26T17:09:07.6250382+02:00",
    "Timeseries": "sample string 1",
    "Description": "sample string 2",
    "Value": 3.0,
    "FormatNumber": "sample string 4",
    "FormatDate": "sample string 5"
  },
  {
    "Period": "2022-05-26T17:09:07.6250382+02:00",
    "Timeseries": "sample string 1",
    "Description": "sample string 2",
    "Value": 3.0,
    "FormatNumber": "sample string 4",
    "FormatDate": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfObservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SarbWebApi.DTOs">
  <Observation>
    <Description>sample string 2</Description>
    <FormatDate>sample string 5</FormatDate>
    <FormatNumber>sample string 4</FormatNumber>
    <Period>2022-05-26T17:09:07.6250382+02:00</Period>
    <Timeseries>sample string 1</Timeseries>
    <Value>3</Value>
  </Observation>
  <Observation>
    <Description>sample string 2</Description>
    <FormatDate>sample string 5</FormatDate>
    <FormatNumber>sample string 4</FormatNumber>
    <Period>2022-05-26T17:09:07.6250382+02:00</Period>
    <Timeseries>sample string 1</Timeseries>
    <Value>3</Value>
  </Observation>
</ArrayOfObservation>