v1

latestOpenAPI 3.0.02026-07-14323187.1 KB
Historic Sitting Days

Get historic sitting days given house and sitting date range

Get historic sitting days given house and sitting date range. Results can be filtered on whether or not to include results with sitting sections

get/historicsittingdays

Query parameters

queryParams.house'Commons' | 'Lords'

the parliamentary house (Commons or Lords)

queryParams.startDatestring date-time

the date to search from (yyyy-mm-dd)

queryParams.endDatestring date-time

the date to search to (yyyy-mm-dd)

queryParams.skipinteger

how many results to skip (Default is 0)

queryParams.takeinteger

how many results to return per page (maximum 100)

queryParams.orderBy'SittingDateAsc' | 'SittingDateDesc'

how to order results (SittingDateAsc or SittingDateDesc)

queryParams.hasSittingSectionsboolean

whether or not to only include results with sitting sections

Response

OK

TotalResultCountinteger