GET api/v2/structures/divrec/divrecyear

Returns list of Diversion Records By Year

NameDescriptionType
approvalStatus

Indicates that the data is provisional, meaning the data has not yet passed a final review by the water commissioner, or published.

string
dataMeasDate

Measurement date of Stage/Volume reading

string
dataValue

Diversion amount (CFS)

decimal number
measCount

Measurement Count

integer
measInterval

Interval of measurement

string
measUnits

Measurement Units

string
modified

Last date time that this record was modified in the DWR database

date
obsCode

Observation Code

string
waterClassNum

WaterClass Number

integer
wcIdentifier

A Water Class consists of a series of codes that provide the location of the diversion, the SOURCE of water, the USE of the water and the administrative operation required to make the diversion. The Water Class, combined with a daily, monthly or annual volume, constitutes a Diversion Record. The codes that make up a Water Class are:

  • WDID - structure ID at which the diversion was made
  • ACT - each WDID may have multiple accounts as indicated by a three digit extension appended to the right of a decimal point after the WDID
  • SOURCE - source of the water being diverted
  • FROM - structure WDID of “enabling structure” associated with more complex diversions; may also have an ACT extension
  • USE - how the diverted water was used
  • TYPE - provides additional detail regarding the administrative operation associated with the diversion
  • GROUP - the WDID of a group or authorizing agent associated with the diversion
  • TO - the WDID of a structure to which a release is being delivered; may also have an ACT extension
  • string
    wdid

    DWR unique structure identifier

    string

    Response Formats

    application/json, text/json
    Sample:
    [
      {
        "wdid": "sample string 1",
        "waterClassNum": 1,
        "wcIdentifier": "sample string 2",
        "measInterval": "sample string 3",
        "measCount": 1,
        "dataMeasDate": "sample string 4",
        "dataValue": 1.0,
        "measUnits": "sample string 5",
        "obsCode": "sample string 6",
        "approvalStatus": "sample string 7",
        "modified": "2019-01-18T01:10:31.1556696-07:00"
      },
      {
        "wdid": "sample string 1",
        "waterClassNum": 1,
        "wcIdentifier": "sample string 2",
        "measInterval": "sample string 3",
        "measCount": 1,
        "dataMeasDate": "sample string 4",
        "dataValue": 1.0,
        "measUnits": "sample string 5",
        "obsCode": "sample string 6",
        "approvalStatus": "sample string 7",
        "modified": "2019-01-18T01:10:31.1556696-07:00"
      }
    ]
    
    application/xml, text/xml
    Sample:
    <ArrayOfDivRecYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <DivRecYear>
        <approvalStatus>sample string 7</approvalStatus>
        <dataMeasDate>sample string 4</dataMeasDate>
        <dataValue>1</dataValue>
        <measCount>1</measCount>
        <measInterval>sample string 3</measInterval>
        <measUnits>sample string 5</measUnits>
        <modified>2019-01-18T01:10:31.1556696-07:00</modified>
        <obsCode>sample string 6</obsCode>
        <waterClassNum>1</waterClassNum>
        <wcIdentifier>sample string 2</wcIdentifier>
        <wdid>sample string 1</wdid>
      </DivRecYear>
      <DivRecYear>
        <approvalStatus>sample string 7</approvalStatus>
        <dataMeasDate>sample string 4</dataMeasDate>
        <dataValue>1</dataValue>
        <measCount>1</measCount>
        <measInterval>sample string 3</measInterval>
        <measUnits>sample string 5</measUnits>
        <modified>2019-01-18T01:10:31.1556696-07:00</modified>
        <obsCode>sample string 6</obsCode>
        <waterClassNum>1</waterClassNum>
        <wcIdentifier>sample string 2</wcIdentifier>
        <wdid>sample string 1</wdid>
      </DivRecYear>
    </ArrayOfDivRecYear>