Carpark Lookup by ID or Tracking code
Returns information about a carpark.
GET /v1/carparks/{carpark id / live tracking code}
Examples:
- Carpark ID:
/v1/carparks/f5d18a7b-2de4-44e1-8835-2abf233a596c
- Live Tracking Code:
/v1/carparks/MINDENPL
Response
- 200 (OK)
- Schema
This is a sample response.
Status: 200 (OK)
{
"id": "f5d18a7b-2de4-44e1-8835-2abf233a596c",
"createdAt": "2024-06-11T10:02:48.000Z",
"name": "Minden Place MS",
"payByPhoneCode": "59815",
"type": "SHORT_STAY",
"surfaceType": "CONCRETE",
"multiStorey": true,
"latitude": 49.186156,
"longitude": -2.102991,
"spaces": 242,
"disabledSpaces": 5,
"parentChildSpaces": 4,
"electricChargingSpaces": 2,
"liveTrackingCode": "MINDENPL",
"notes": null,
"owner": {
"id": "6060f60d-17a1-49c8-aa4a-c268721a806a",
"name": "Government of Jersey"
}
}
Root
Key | Type | Description |
---|---|---|
id | UUID | A unique ID to represent this carpark |
name | String | The name of the carpark |
surfaceType | String | See Surface Types below |
payByPhoneCode | Number/null | The PayByPhone code for this carpark. If none exists, null is returned |
owner | Object/null | See Owner below |
type | String | See Carpark Types below |
multiStorey | Boolean | true if the carpark has multiple storeys, otherwise false |
latitude | Number | The latitude coordinates |
longitude | Number | The longitude coordinates |
spaces | Number | The total number of spaces, including disabled, electric and parent & child spaces |
disabledSpaces | Number | The total number of disabled spaces |
parentChildSpaces | Number | The total number of parent & child spaces |
electricChargingSpaces | Number | The total number of electric car spaces |
paymentType | String | See Payment Types below |
paymentMethods | Array | An array of payment methods. See Payment Methods below |
liveTrackingCode | String/null | If the available spaces are tracked by the Government this will be the code parameter from the Gov's API, otherwise null |
notes | String/null | Any notes about this carpark |
Owner
For a list of possible owners, see Companies.
Key | Type | Description |
---|---|---|
id | UUID | A unique ID to represent the company |
name | String | The name of the carpark owner |
Enums
Carpark Types
Key | Description |
---|---|
LONG_STAY | A long stay carpark |
SHORT_STAY | A short stay carpark |
Surface Types
Key | Description |
---|---|
TARMAC | The carpark has a tarmac surface |
CONCRETE | The carpark has a concrete surface |
GRAVEL | The carpark has a gravel surface and likely doesn't have parked bays |
Payment Methods
Key | Description |
---|---|
PAY_BY_PHONE | PayByPhone can be used |
PAYCARD | Paycards can be used |
SEASON_TICKET | Season tickets can be used |
PAY_STATION | A pay station can be used (e.g. Sand Street carpark) |
Sources
Data | Source |
---|---|
Name, Surface Type, Spaces, Disabled Spaces, Electric Charging Spaces, Parent/Child Spaces | This Freedom of Information request |
PayByPhone Code, Is Multi Storey | Car parks (long and short stay) on gov.je |
Latitude, Longitude | Locations of Public Facilities on opendata.gov.je |
Live Tracking Code | The code property from this endpoint |