API Documentation
Governance
- Organisations
- Schemes
- Work Orders
- Permits
- Operations
- Properties
- Streets
Data Capture
- Forms
- Form Categories
- Submissions
- Submission Versions
Operations
Assets
- Vehicles
Admin
- IAM
Create a Reinstatement
Create a reinstatement for an organisation
curl --request POST \
--url https://api.ctrl-hub.com/v3/orgs/{orgId}/operations/reinstatements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"type": "reinstatements",
"id": "d15d856d-ad88-489d-a263-24fb2427395b",
"attributes": {
"status": "interim",
"date_opened": "2024-06-13T07:15:23.000Z",
"date_closed": "2024-06-13T07:15:23.000Z",
"type": "private",
"usrn": 28317107,
"uprn": 10022999531,
"property_psr": true,
"surface_position": "footpath",
"surface_location": "outside",
"surface_material": "concrete",
"opened_length": 8.2,
"opened_width": 2.3,
"opened_depth": 80,
"reinstated_length": 8.2,
"reinstated_width": 2.3,
"reinstated_depth": 80
}
}
}'
{
"data": {
"type": "reinstatements",
"id": "d15d856d-ad88-489d-a263-24fb2427395b",
"attributes": {
"status": "interim",
"date_opened": "2024-06-13T07:15:23.000Z",
"date_closed": "2024-06-13T07:15:23.000Z",
"type": "private",
"usrn": 28317107,
"uprn": 10022999531,
"property_psr": true,
"surface_position": "footpath",
"surface_location": "outside",
"surface_material": "concrete",
"opened_length": 8.2,
"opened_width": 2.3,
"opened_depth": 80,
"reinstated_length": 8.2,
"reinstated_width": 2.3,
"reinstated_depth": 80
}
}
}
Authorizations
To understand how to authenticate, see the auth docs
Path Parameters
The ID of the organisation
"cc9746e0-9286-4575-ae0b-ac1b0fe873a6"
Body
The type of resource
reinstatements
"reinstatements"
The reinstatement ID
"d15d856d-ad88-489d-a263-24fb2427395b"
The status of the reinstatement
open
, interim
, permanent
, complete
"interim"
The date the reinstatement was opened (RFC 3339)
"2024-06-13T07:15:23.000Z"
The date the reinstatement was closed (RFC 3339)
"2024-06-13T07:15:23.000Z"
The type of property the resintatement is for
private
, public
"private"
The Unique Street Reference Number
28317107
The Unique Property Reference Number
10022999531
Whether the property is on the PSR or not
true
The surface position of the reinstatement
footway
, carriageway
, verge
, footpath
, pavement
, road
, cycleway
, garden
, drive
, field
"footpath"
The surface location of the reinstatement
outside
, side_of
, opposite
, junction_of
, rear_of
, behind_gate
"outside"
The surface material of the reinstatement
6mm_dbm
, 6mm_dbm_red
, 10mm_dbm
, 10mm_sma
, 14mm_sma
, hra_red
, 10mm_dbm_red
, 10mm_sma_red
, 14mm_sma_red
, concrete
, mastic
, mastic_red
, sandcarpet
, specialist_surface
, resin_footway
, asp_slab
, modular_paving
, block_paving
, tactile_paving
, york_stone
, granite_setts
, topsoil_and_seed
, turf
, unmade
, slabs
, reinforced_concrete
, hra
"concrete"
The length of the reinstatement when opened (in meters)
8.2
The width of the reinstatement when opened (in meters)
2.3
The depth of the reinstatement when opened (in millimeters)
80
The length of the reinstatement when closed (in meters)
8.2
The width of the reinstatement when closed (in meters)
2.3
The depth of the reinstatement when closed (in millimeters)
80
Response
The type of resource
reinstatements
"reinstatements"
The reinstatement ID
"d15d856d-ad88-489d-a263-24fb2427395b"
The status of the reinstatement
open
, interim
, permanent
, complete
"interim"
The date the reinstatement was opened (RFC 3339)
"2024-06-13T07:15:23.000Z"
The date the reinstatement was closed (RFC 3339)
"2024-06-13T07:15:23.000Z"
The type of property the resintatement is for
private
, public
"private"
The Unique Street Reference Number
28317107
The Unique Property Reference Number
10022999531
Whether the property is on the PSR or not
true
The surface position of the reinstatement
footway
, carriageway
, verge
, footpath
, pavement
, road
, cycleway
, garden
, drive
, field
"footpath"
The surface location of the reinstatement
outside
, side_of
, opposite
, junction_of
, rear_of
, behind_gate
"outside"
The surface material of the reinstatement
6mm_dbm
, 6mm_dbm_red
, 10mm_dbm
, 10mm_sma
, 14mm_sma
, hra_red
, 10mm_dbm_red
, 10mm_sma_red
, 14mm_sma_red
, concrete
, mastic
, mastic_red
, sandcarpet
, specialist_surface
, resin_footway
, asp_slab
, modular_paving
, block_paving
, tactile_paving
, york_stone
, granite_setts
, topsoil_and_seed
, turf
, unmade
, slabs
, reinforced_concrete
, hra
"concrete"
The length of the reinstatement when opened (in meters)
8.2
The width of the reinstatement when opened (in meters)
2.3
The depth of the reinstatement when opened (in millimeters)
80
The length of the reinstatement when closed (in meters)
8.2
The width of the reinstatement when closed (in meters)
2.3
The depth of the reinstatement when closed (in millimeters)
80
curl --request POST \
--url https://api.ctrl-hub.com/v3/orgs/{orgId}/operations/reinstatements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"type": "reinstatements",
"id": "d15d856d-ad88-489d-a263-24fb2427395b",
"attributes": {
"status": "interim",
"date_opened": "2024-06-13T07:15:23.000Z",
"date_closed": "2024-06-13T07:15:23.000Z",
"type": "private",
"usrn": 28317107,
"uprn": 10022999531,
"property_psr": true,
"surface_position": "footpath",
"surface_location": "outside",
"surface_material": "concrete",
"opened_length": 8.2,
"opened_width": 2.3,
"opened_depth": 80,
"reinstated_length": 8.2,
"reinstated_width": 2.3,
"reinstated_depth": 80
}
}
}'
{
"data": {
"type": "reinstatements",
"id": "d15d856d-ad88-489d-a263-24fb2427395b",
"attributes": {
"status": "interim",
"date_opened": "2024-06-13T07:15:23.000Z",
"date_closed": "2024-06-13T07:15:23.000Z",
"type": "private",
"usrn": 28317107,
"uprn": 10022999531,
"property_psr": true,
"surface_position": "footpath",
"surface_location": "outside",
"surface_material": "concrete",
"opened_length": 8.2,
"opened_width": 2.3,
"opened_depth": 80,
"reinstated_length": 8.2,
"reinstated_width": 2.3,
"reinstated_depth": 80
}
}
}