NZ Legislation Tool API - v1.2.0
GitHub
npm
Preparing search index...
client
getWork
Function getWork
getWork
(
workId
:
string
,
)
:
Promise
<
{
date
:
string
;
id
:
string
;
shortTitle
:
string
|
undefined
;
status
:
|
"in-force"
|
"not-yet-in-force"
|
"repealed"
|
"partially-repealed"
|
"withdrawn"
;
title
:
string
;
type
:
"act"
|
"bill"
|
"regulation"
|
"instrument"
;
url
:
string
;
versionCount
:
number
;
}
,
>
Get a specific work by ID
Parameters
workId
:
string
Returns
Promise
<
{
date
:
string
;
id
:
string
;
shortTitle
:
string
|
undefined
;
status
:
|
"in-force"
|
"not-yet-in-force"
|
"repealed"
|
"partially-repealed"
|
"withdrawn"
;
title
:
string
;
type
:
"act"
|
"bill"
|
"regulation"
|
"instrument"
;
url
:
string
;
versionCount
:
number
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
NZ Legislation Tool API - v1.2.0
Loading...
Get a specific work by ID