NAME

WebService::UK::Parliament::StatutoryInstruments - Query the UK Parliament Statutory In API

VERSION

Version 1.00

SYNOPSIS

use WebService::UK::Parliament::StatutoryInstruments;

my $client = WebService::UK::Parliament::StatutoryInstruments->new();

my $data = $client->$endpoint($params);

DESCRIPTION

The following documentation is automatically generated using the UK Parliament OpenAPI specification.

An API exposing details of the various types of Statutory Instruments laid before Parliament.

Sections

BusinessItem

getv1BusinessItem

Returns the business item for the given ID.

Method

get

Path

/api/v1/BusinessItem/{id}

Parameters

id

Business item with the ID specified

string

LaidPaper

Business item by laid paper type

string

StatutoryInstrument ProposedNegative

LayingBody

getv1LayingBody

Returns all laying bodies.

Method

get

Path

/api/v1/LayingBody

Procedure

getv1Procedure1

Returns all procedures.

Method

get

Path

/api/v1/Procedure

getv1Procedure

Returns procedure by ID.

Method

get

Path

/api/v1/Procedure/{id}

Parameters

id

Procedure with the ID specified

string

ProposedNegativeStatutoryInstrument

getv1ProposedNegativeStatutoryInstrument

Returns a list of proposed negative statutory instruments.

Method

get

Path

/api/v1/ProposedNegativeStatutoryInstrument

Parameters

Name

Proposed negative statutory instruments with the name provided

string

RecommendedForProcedureChange

Proposed negative statutory instruments recommended for procedure change

boolean

DepartmentId

Proposed negative statutory instruments with the department ID specified

integer

format: int32

LayingBodyId

Proposed negative statutory instruments with the laying body ID specified

string

Skip

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

integer

format: int32

Take

The number of records to return, default is 20

integer

format: int32

getv1ProposedNegativeStatutoryInstrument1

Returns proposed negative statutory instrument by ID.

Method

get

Path

/api/v1/ProposedNegativeStatutoryInstrument/{id}

Parameters

id

Proposed negative statutory instrument with the ID specified

string

getv1ProposedNegativeStatutoryInstrumentBusinessItems

Returns business items belonging to a proposed negative statutory instrument.

Method

get

Path

/api/v1/ProposedNegativeStatutoryInstrument/{id}/BusinessItems

Parameters

id

Business items belonging to proposed negative statutory instrument with the ID specified

string

StatutoryInstrument

getv1StatutoryInstrument1

Returns a list of statutory instruments.

Method

get

Path

/api/v1/StatutoryInstrument

Parameters

Name

Statutory instruments with the name specified

string

StatutoryInstrumentType

Statutory instruments where the statutory instrument type is the type provided

string

DraftAffirmative DraftNegative MadeAffirmative MadeNegative

ScheduledDebate

Statutory instrument which contains a scheduled debate

boolean

MotionToStop

Statutory instruments which contains a motion to stop

boolean

ConcernsRaisedByCommittee

Statutory instruments which contains concerns raised by committee

boolean

ParliamentaryProcessConcluded

Statutory instruments where the parliamentary process is concluded or notconcluded

string

NotConcluded Concluded

DepartmentId

Statutory instruments with the department ID specified

integer

format: int32

LayingBodyId

Statutory instruments with the laying body ID specified

string

House

Statutory instruments laid in the house specified

string

Commons Lords

Skip

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

integer

format: int32

Take

The number of records to return, default is 20

integer

format: int32

getv1StatutoryInstrument

Returns a statutory instrument by ID.

Method

get

Path

/api/v1/StatutoryInstrument/{id}

Parameters

id

Statutory instrument with the ID specified

string

getv1StatutoryInstrumentBusinessItems

Returns business items belonging to statutory instrument with ID.

Method

get

Path

/api/v1/StatutoryInstrument/{id}/BusinessItems

Parameters

id

Business items belonging to statutory instrument with the ID specified

string

AUTHOR

LNATION, <thisusedtobeanemail at gmail.com>

BUGS

Please report any bugs or feature requests to bug-webservice-uk-parliament at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-UK-Parliament. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WebService::UK::Parliament

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

The first ticehurst bathroom experience

This software is Copyright (c) 2022 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)