GET Legislators/{ga}/{chamber}/{id}/bills
This will retrieve the list of bills sponsored by the member (bills and resolutions).
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| ga | (Required) General Assembly number. Use the GA endpoint to get a list of supported GA numbers and the current one. |
Define this parameter in the request URI. |
| chamber | (Required) Should be (H)ouse or (S)enate |
Define this parameter in the request URI. |
| id | (Required) Legislator ID |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"GA": "sample string 1",
"RecordCount": 2,
"Data": [
{
"DocNo": "sample string 1",
"PDFDoc": "sample string 2"
},
{
"DocNo": "sample string 1",
"PDFDoc": "sample string 2"
},
{
"DocNo": "sample string 1",
"PDFDoc": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<Bills xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GA>sample string 1</GA>
<RecordCount>2</RecordCount>
<Data>
<BillData>
<DocNo>sample string 1</DocNo>
<PDFDoc>sample string 2</PDFDoc>
</BillData>
<BillData>
<DocNo>sample string 1</DocNo>
<PDFDoc>sample string 2</PDFDoc>
</BillData>
<BillData>
<DocNo>sample string 1</DocNo>
<PDFDoc>sample string 2</PDFDoc>
</BillData>
</Data>
</Bills>