2025-12-15

2025-12-15

Ratings

Tested with: 2025.12.15-develop

  • /ratings/rate-values/{office}/{rating-id}
  • [Needs Info] On DEV (2025/12/15) we got a 400 testing with LRH

  • [Needs Info] On TEST (2025.10.22-testa) we got a 500

  • Attempting Multiparam query unsure on format, need examples -> KEYS.Opening-Spillway_Gates,Elev;Flow-Spillway_Gates.Standard.Production
  • Get a generic "Invalid CWMS DTO Provided" error for various errors. For examle # values count does not match # of value-times

{ "message": "Invalid CWMS DTO provided", "incidentIdentifier": "user input error", "details": {}}

  • /ratings/rate-ts/{office}/{rating-id}
  • Give one TSID(or more if multi param) and return back a list of rated values, slows down if you query MANY (rate limited?)
  • Need docs for trim/start(end)-inclusive/previous/next, prev/next are boolean flags. If you specify either it will grab nearest value before and after time windows respectively
  • /ratings/reverse-rate-values/{office}/{rating-id}
  • Worked as expected, reverse input value/units to go the other direction using the same curve
  • /ratings/reverse-rate-ts/{office}/{rating-id}
  • As expected, note to give the output param TS as the input
  • User Notes about ratings:
  • Make notation if all input values are millis or seconds, if you enter seconds it will do the beginning of the records(question)
  • Add to Ratings in read the docs / consider enforcing millis on all data inputs, add to CONTRIBUTING?
  • Comment about page sizes, no pagination on ratings