v1

latestOpenAPI 3.0.12026-07-143883127.3 KB
Events

Return a list of event activities

get/api/Events/Activities

Query parameters

IncludeActivityAttendeesboolean

Return a list of attendees with each activity - defaults to false

CommitteeIdinteger

Return a list of events for the committee ID specified

CommitteeBusinessIdinteger

Return a list of events for the committee Business ID specified

GroupChildEventsWithParentboolean

Return child events as a property of its parent event - defaults to false

SearchTermstring

List of events containing the search term specified. Must be 2 characters or more.

StartDateFromstring date-time

List of events starting after the date provided

StartDateTostring date-time

List of events starting before the date provided

EndDateFromstring date-time

List of events ending after the date provided

House'Commons' | 'Lords' | 'Joint'

List of events with committees pertaining to the house specified

LocationIdinteger

List of events with the location id specified

ExcludeCancelledEventsboolean

Exclude cancelled events from the response

SortAscendingboolean

Sort by start date ascending

EventTypeIdinteger

List of events with the specified event type

IncludeEventAttendeesboolean

Include the events attendees in the response (it's a little more expensive to do so)

ShowOnWebsiteOnlyboolean

Only return committee website results - defaults to true

Skipinteger

Numbers of items to skip - defaults to 0

Takeinteger

Number of items to be returned - defaults to 30

Response

List of events with activities matching the specified search parameters

totalResultsinteger
itemsPerPageinteger