GET api/v2/structures/divrec/comments

Returns list of comments based on WDID

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
comment

Comments

string
commentType

Diversion or Release

string
irrYear

Irrigation year (Nov 1 to Oct 31)

integer
modified

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

date
notUsed

Code/reason if structure is not used

string
notUsedDescr

Water Class description

string
wdid

DWR unique structure identifier

string

Response Formats

application/json, text/json
Sample:
[
  {
    "wdid": "sample string 1",
    "commentType": "sample string 2",
    "irrYear": 1,
    "notUsed": "sample string 3",
    "notUsedDescr": "sample string 4",
    "comment": "sample string 5",
    "approvalStatus": "sample string 6",
    "modified": "2024-05-22T01:11:48.200789-06:00"
  },
  {
    "wdid": "sample string 1",
    "commentType": "sample string 2",
    "irrYear": 1,
    "notUsed": "sample string 3",
    "notUsedDescr": "sample string 4",
    "comment": "sample string 5",
    "approvalStatus": "sample string 6",
    "modified": "2024-05-22T01:11:48.200789-06:00"
  }
]
application/xml, text/xml
Sample:
<ArrayOfDivRecComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DivRecComment>
    <approvalStatus>sample string 6</approvalStatus>
    <comment>sample string 5</comment>
    <commentType>sample string 2</commentType>
    <irrYear>1</irrYear>
    <modified>2024-05-22T01:11:48.200789-06:00</modified>
    <notUsed>sample string 3</notUsed>
    <notUsedDescr>sample string 4</notUsedDescr>
    <wdid>sample string 1</wdid>
  </DivRecComment>
  <DivRecComment>
    <approvalStatus>sample string 6</approvalStatus>
    <comment>sample string 5</comment>
    <commentType>sample string 2</commentType>
    <irrYear>1</irrYear>
    <modified>2024-05-22T01:11:48.200789-06:00</modified>
    <notUsed>sample string 3</notUsed>
    <notUsedDescr>sample string 4</notUsedDescr>
    <wdid>sample string 1</wdid>
  </DivRecComment>
</ArrayOfDivRecComment>