Versions Compared

Key

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

...

Example request

Code Block
curl "http://localhost:80808100/FewsWebServices/rest/fewspiservice/v1/ratingcurves/stagetodischarge"?locationId=CMKT2 -X POST -H "Content-Type: application/x-www-form-urlencoded" d 'stageValues={ "stageValues" : [ "22.1", "22.2" ] }'

Example PI-XML response

Code Block
{ "dischargeValues" : [ "9920.0", "10200.0" ] }

...

Example request

Code Block
curl "http://localhost:80808100/FewsWebServices/rest/fewspiservice/v1/ratingcurves/stagetodischarge" -X POST -H "Content-Type: application/x-www-form-urlencoded" dischargetostage?locationId=CMKT2 -d 'dischargeValues={ "dischargeValues" : [ "66062.04", "66546.8" ] }'

Example PI-XML response

Code Block
{ "stageValues" : [ "22.1", "22.2" ] }   

...