POST api/legislator/search

Request Information

URI Parameters

None.

Body Parameters

Searcher
NameDescriptionTypeAdditional information
lastName

string

None.

firstName

string

None.

party

string

None.

city

integer

None.

county

string

None.

district

string

None.

gender

string

None.

serviceYearStart

string

None.

serviceYearEnd

string

None.

Request Formats

application/json, text/json

Sample:
{
  "lastName": "sample string 1",
  "firstName": "sample string 2",
  "party": "sample string 3",
  "city": 4,
  "county": "sample string 5",
  "district": "sample string 6",
  "gender": "sample string 7",
  "serviceYearStart": "sample string 8",
  "serviceYearEnd": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.