GET Subjects/{ga}/{subjectcode}/bills
This will return a list of Bills by Subject in the requested General Assembly.
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. |
| subjectcode | (Required) Primary subject 4 digit code. You can get a list of codes from Subjects/{ga}/{letter} end point. |
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",
"CompDocNo": "sample string 2",
"SubjectCode": "sample string 3",
"Description": "sample string 4"
},
{
"DocNo": "sample string 1",
"CompDocNo": "sample string 2",
"SubjectCode": "sample string 3",
"Description": "sample string 4"
},
{
"DocNo": "sample string 1",
"CompDocNo": "sample string 2",
"SubjectCode": "sample string 3",
"Description": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<BillsBySubject 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>
<BillsBySubjectData>
<DocNo>sample string 1</DocNo>
<CompDocNo>sample string 2</CompDocNo>
<SubjectCode>sample string 3</SubjectCode>
<Description>sample string 4</Description>
</BillsBySubjectData>
<BillsBySubjectData>
<DocNo>sample string 1</DocNo>
<CompDocNo>sample string 2</CompDocNo>
<SubjectCode>sample string 3</SubjectCode>
<Description>sample string 4</Description>
</BillsBySubjectData>
<BillsBySubjectData>
<DocNo>sample string 1</DocNo>
<CompDocNo>sample string 2</CompDocNo>
<SubjectCode>sample string 3</SubjectCode>
<Description>sample string 4</Description>
</BillsBySubjectData>
</Data>
</BillsBySubject>