Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • startTime (dateTime: yyyy-MM-ddTHH:mm:ssZ): Start time of the archive search period
  • attribute(key)=value (string): on ore more attributes that have  to match the archive attribute. Attributes are passed by passing the key as an argument to the attribute() paramteter and the value as parameter value. See the example where only forecasts will be returned were the long_name is equal to parameterA
  • endTime (dateTime: yyyy-MM-ddTHH:mm:ssZ): End time of the archive search period
  • requestedAttribute(string): The attributes of the forecast which should be included in the response
  • forecastCount (integer): The maximum number of forecasts to be returned from archive. If you only want to download the most recent forecast in the requested period then  use forecastCount=1

...

Code Block
languagexml
http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/archive/netcdstorageforecasts?attribute(long_name)=parameterA&requestedAttribute=long_name&startTime=2019-01-01T00:00:00Z&endTime=2020-01-01T00:00:00Z&documentFormat=PI_JSON

...