v1

latestSwagger 2.02026-07-1341847.0 KB
Early Day Motions

Returns a list of Early Day Motions

Get a list of Early Day Motions which meet the specified criteria. Only supports Published and Withdrawn status.

get/EarlyDayMotions/list

Query parameters

parameters.edmIdsinteger[]

Early Day Motions with an ID in the list provided.

parameters.uINWithAmendmentSuffixstring

Early Day Motions with an UINWithAmendmentSuffix provided.

parameters.searchTermstring

Early Day Motions where the title includes the search term provided.

parameters.currentStatusDateStartstring date-time

Early Day Motions where the current status has been set on or after the date provided. Date format YYYY-MM-DD.

parameters.currentStatusDateEndstring date-time

Early Day Motions where the current status has been set on or before the date provided. Date format YYYY-MM-DD.

parameters.isPrayerboolean

Early Day Motions which are a prayer against a Negative Statutory Instrument.

parameters.memberIdinteger

Return Early Day Motions tabled by Member with ID provided.

parameters.includeSponsoredByMemberboolean

Include Early Day Motions sponsored by Member specified

parameters.tabledStartDatestring date-time

Early Day Motions where the date tabled is on or after the date provided. Date format YYYY-MM-DD.

parameters.tabledEndDatestring date-time

Early Day Motions where the date tabled is on or before the date provided. Date format YYYY-MM-DD.

parameters.statusesstring[]

Early Day Motions where current status is in the selected list.

parameters.orderBy'DateTabledAsc' | 'DateTabledDesc' | 'TitleAsc' | 'TitleDesc' | 'SignatureCountAsc' | 'SignatureCountDesc'

Order results by date tabled, title or signature count. Default is date tabled.

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