v1

latestOpenAPI 3.0.12026-07-1372039.7 KB
WrittenStatements

Returns a list of written statements

get/api/writtenstatements/statements

Query parameters

madeWhenFromstring date-time

Written statements made on or after the date specified. Date format yyyy-mm-dd

madeWhenTostring date-time

Written statements made on or before the date specified. Date format yyyy-mm-dd

sessionStatus'Current' | 'Any'

The Session status for which the Written statements data will be returned

searchTermstring

Written questions / statements containing the search term specified, searches item content

uINstring

Written questions / statements with the uin specified

answeringBodiesinteger[]

Written questions / statements relating to the answering bodies with the IDs specified

membersinteger[]

Written questions / statements relating to the members with the IDs specified

house'Bicameral' | 'Commons' | 'Lords'

Written questions / statements relating to the House specified

skipinteger

Number of records to skip, default is 0

takeinteger

Number of records to take, default is 20

expandMemberboolean

Expand the details of Members in the results

Response

Success

totalResultsinteger