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
}
}
}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
}
}
}To understand how to authenticate, see the auth docs
The ID of the organisation
"cc9746e0-9286-4575-ae0b-ac1b0fe873a6"
Show child attributes
The type of resource
reinstatements "reinstatements"
The reinstatement ID
"d15d856d-ad88-489d-a263-24fb2427395b"
Show child attributes
The status of the reinstatement
open, interim, permanent, complete "interim"
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
Show child attributes
The type of resource
reinstatements "reinstatements"
The reinstatement ID
"d15d856d-ad88-489d-a263-24fb2427395b"
Show child attributes
The status of the reinstatement
open, interim, permanent, complete "interim"
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