Oral Questions

Returns a list of oral questions

A list of oral questions meeting the specified criteria.

get/oralquestions/list

Query parameters

parameters.answeringDateStartstring date-time

Oral Questions where the answering date has been set on or after the date provided. Date format YYYY-MM-DD.

parameters.answeringDateEndstring date-time

Oral Questions where the answering date has been set on or before the date provided. Date format YYYY-MM-DD.

parameters.questionType'Substantive' | 'Topical'

Oral Questions where the question type is the selected type, substantive or topical.

parameters.oralQuestionTimeIdinteger

Oral Questions where the question is within the question time with the ID provided

parameters.statusesstring[]

Oral Questions where current status is in the selected list

parameters.askingMemberIdsinteger[]

The ID of the member asking the question. Lists of member IDs for each house are available <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Commons" target="_blank">Commons</a> and <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Lords" target="_blank">Lords</a>.

parameters.uINsinteger[]

The UIN for the question - note that UINs reset at the start of each Parliamentary session.

parameters.answeringBodyIdsinteger[]

Which answering body is to respond. A list of answering bodies can be found <a target="_blank" href="http://data.parliament.uk/membersdataplatform/services/mnis/referencedata/AnsweringBodies/">here</a>.

parameters.skipinteger

The number of records to skip from the first, default is 0.

parameters.takeinteger

The number of records to return, default is 25, maximum is 100.

Response

OK

StatusCode'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'
Successboolean
Errorsstring[]