Skip to main content
POST
Import a parking

Authorizations

Authorization
string
header
required

Your SmartHUB API user's username and password.

Body

application/json
externalParkingId
string | null

Your unique parking ID. Re-posting the same ID updates the parking.

areaCountryCode
string | null

2-letter ISO country code of the area.

areaNo
integer<int64> | null

EasyPark parking area number.

startDate
string<date-time> | null

Parking start (ISO-8601 UTC).

endDate
string<date-time> | null

Parking end (ISO-8601 UTC).

licenseNumber
string | null

Vehicle license plate.

subType
enum<string> | null

Parking sub-type, e.g. NORMAL_TIME.

Available options:
NORMAL_TIME,
NORMAL_BUCKET,
PERSONNEL_TIME,
PERSONNEL_BUCKET,
RESIDENTIAL_TIME,
RESIDENTIAL_BUCKET,
ANPR_TIME,
PRE_BOOKING,
EVC_TIME,
EXT_TIME,
EXT_PRE_BOOKING,
NORMAL_TOLLING,
BUY_TIME,
CHARGING,
EXT_BUCKET,
PERMIT,
SUBTICKET
vehicleType
string | null

Vehicle type, e.g. MOTORCYCLE.

fuelType
string | null

Fuel type, e.g. PETROL.

parkingFeeExclusiveVAT
number | null

Fee excluding VAT.

parkingFeeInclusiveVAT
number | null

Fee including VAT.

parkingFeeVAT
number | null

VAT amount.

currency
object | null

ISO-4217 currency code, e.g. SEK.

latitude
number<double> | null

Latitude (decimal degrees).

longitude
number<double> | null

Longitude (decimal degrees).

parkingSpotNumber
string | null

Parking spot number.

includeParkingId
boolean | null

Set true to receive the parking's EasyPark ID as importedParkingId in the response. Look it up later with GET /checkparking?parkingId=….

Response

OK

status
string | null

SUCCESS_OK on success; otherwise an error status such as PERMISSION_DENIED.

techErrorString
string | null

Technical error description; null on success.

userErrorString
string | null

User-facing error message; null on success.

importedParkingId
integer<int64> | null

EasyPark ID of the imported parking. Only returned when the request set includeParkingId: true.