v1

latestSwagger 2.02026-07-1341847.0 KB
Oral Question Times

Returns a list of oral question times

A list of oral question times meeting the specified criteria.

get/oralquestiontimes/list

Query parameters

parameters.answeringDateStartstring date-time

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

parameters.answeringDateEndstring date-time

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

parameters.deadlineDateStartstring date-time

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

parameters.deadlineDateEndstring date-time

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

parameters.oralQuestionTimeIdinteger

Identifier of the OQT

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[]