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

Advanced search into Legislation. Expects a LegislationSearchCriteria in the request body. The search criteria can include various combinations to search for Legislation that match. RowLimit limits the number of results. Offset defines the starting record in the result recordset.

Request Information

Parameters

NameDescriptionTypeAdditional information
criteria
LegislationSearchCriteria
AdvancedSearchCriteria

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 2015",
  "CategoryId": "1",
  "SubCategoryId": "4",
  "RequestOf": "the Mayor",
  "CouncilPeriod": "21",
  "Introducer": "237",
  "CoSponsor": "",
  "CommitteeId": "210",
  "CommitteeCommentsId": "204",
  "StartDate": "09/17/2015",
  "EndDate": "09/17/2015",
  "LegislationStatus": "130"
}

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"
  }
]