POST v1/Legislation/Search/{rowLimit}/{offSet}

Basic search on keyword and category. The results include all Legislation that have matched the search criteria. RowLimit limits the number of results. OffSet defines the starting record in the result record set.

Request Information

Parameters

NameDescriptionTypeAdditional information
criterian
{
            "Keyword": "Legislation number or Legislation title",
            "CategoryId": "All Legislation = 0,Bill = 1, Resolution = 2, 
                Contract = 3, Grant Budget Modification = 8, 
                Reprogramming = 11, Housing Finance Agency = 13, 
                Report = 12, Agenda = 18"
            }
PublicSearchCriteria

Define this parameter in the request body.

rowLimit
Limits the number of results
Int32

Define this parameter in the request URI.

offSet
Defines the page offset
Int32

Define this parameter in the request URI.

Request body formats

application/json

Sample:
{
  "Keyword": "Fiscal Year 2016",
  "CategoryId": "0"
}

Response Information

Response body formats

application/json

Sample:
[
  {
    "Subcategory": "Permanent Bill",
    "Category": "Bill",
    "ShortTitle": "Fiscal Year 2016 Budget Request Act of 2015",
    "Introducer": "Phil Mendelson",
    "CommitteeReferral": "Committee of the Whole",
    "IntroductionDate": "2015-06-02",
    "LegislationStatus": "Official Law",
    "DeemedOn": "2017-12-13",
    "Deemed": null,
    "CouncilPeriod": 21,
    "DocumentUrl": "",
    "LawNumber": "L21-0027",
    "ActNumber": "A21-0099",
    "Modified": "2015-10-13",
    "CommitteeReferralComments": "",
    "Id": 33642,
    "LegislationNumber": "B21-0157"
  },
  {
    "Subcategory": "Temporary Bill",
    "Category": "Bill",
    "ShortTitle": "Fiscal Year 2015 Second Revised Budget Request Temporary Adjustment Act of 2015",
    "Introducer": "Chairman Mendelson",
    "CommitteeReferral": "Retained by the Council",
    "IntroductionDate": "2015-04-13",
    "LegislationStatus": "Official Law",
    "DeemedOn": "2015-10-05",
    "Deemed": null,
    "CouncilPeriod": 21,
    "DocumentUrl": "",
    "LawNumber": "L21-0024",
    "ActNumber": "A21-0094",
    "Modified": "2015-10-05",
    "CommitteeReferralComments": "Committee of the Whole",
    "Id": 33667,
    "LegislationNumber": "B21-0165"
  }
]