> ## Documentation Index
> Fetch the complete documentation index at: https://developer.easyparkgroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check parkings

> Returns active and recent parkings that match the supplied search
criteria.


**When to use:** Call this from enforcement tools that need to verify whether a vehicle
has an active parking session at a given location. For bulk export use
`GET /checkparking/export`. For paginated browsing use
`GET /checkparking/paginate`.




## OpenAPI

````yaml https://api-docs.usa.parkinghub.net/manage/openapi/external get /rest/resources/checkparking
openapi: 3.1.0
info:
  title: SmartHUB API
  description: >
    SmartHUB is EasyPark's API for parking enforcement and integration

    partners. Use it to check whether a vehicle has a valid parking, and to

    send parkings from your own system (pay stations, apps) to EasyPark.


    **Getting access**


    Every call needs an API user. Email

    [api-developer-portal@arrive.com](mailto:api-developer-portal@arrive.com)

    with your company, the city you operate in and what you want to build, and

    we'll send you credentials. Send them as HTTP Basic auth on each request.


    **Your SmartHUB domain**


    Each city has its own host, e.g.
    `https://{your-city-name}.europe.parkinghub.net`

    in Europe or `https://{your-city-name}.usa.parkinghub.net` in the US. Always

    call your own domain: it decides which operator's parkings and areas you

    see. We'll tell you yours together with the credentials.


    **Regions**


    Europe and the US have separate specs, because a few operations and fields

    exist in one region only. Use the one for the region your city is in.
  version: v0.0.1
servers:
  - url: https://{your-city-name}.usa.parkinghub.net
    description: Your SmartHUB domain
    variables:
      your-city-name:
        description: Your SmartHUB domain prefix
        default: your-city-name
security:
  - basicAuth: []
tags:
  - name: External API Resource
    description: Rest API for external operations
  - name: Checkparking Resource
    description: |
      REST API for checkparking operations — vehicle parking lookups for
      enforcement clients and integration partners.

      **Search criteria** (applies to every operation in this resource)

      The request must include at least one search parameter, e.g.
      `licenseNumber`, `areaNo` or `superZoneNo` (see the operation's
      parameter list for everything supported here).

      Requests with none of these return `INSUFFICIENT_SEARCHCRITERIA`.

      **Error response**

      Validation failures do NOT change the HTTP status — the endpoint
      always returns `200 OK`. The response body's `status` field signals
      the outcome:

        - `OK` — validation passed; `parkings` contains the results.
        - `INSUFFICIENT_SEARCHCRITERIA` — no valid search criteria provided,
          or a required companion parameter is missing. `parkings`
          is `null`; `techErrorString` / `userErrorKey` / `userErrorString`
          carry diagnostic detail.
paths:
  /rest/resources/checkparking:
    get:
      tags:
        - Checkparking Resource
      summary: Check parkings
      description: >
        Returns active and recent parkings that match the supplied search

        criteria.



        **When to use:** Call this from enforcement tools that need to verify
        whether a vehicle

        has an active parking session at a given location. For bulk export use

        `GET /checkparking/export`. For paginated browsing use

        `GET /checkparking/paginate`.
      operationId: checkParking_1
      parameters:
        - name: requestParams
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/JerseyCheckParkingRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListParkingsForCheckParkingResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ExceptionDto'
              examples:
                HttpMessageNotReadableException:
                  description: HttpMessageNotReadableException
                  value:
                    message: Cannot parse request
                    exception: msg
                    msgId: sample
                    errCode: null
                MaxUploadSizeExceededException:
                  description: MaxUploadSizeExceededException
                  value:
                    message: Uploaded file too big
                    exception: Maximum upload size of 1024 bytes exceeded
                    msgId: sample
                    errCode: null
                BusinessLogicException:
                  description: BusinessLogicException
                  value:
                    message: Unprocessable Entity
                    exception: msg
                    msgId: sample
                    errCode: ERR_DUPLICATE_ENTITY
        '401':
          description: Unauthorized
          content:
            '*/*':
              example:
                message: Unauthorized
                exception: 401 Unauthorized
                msgId: sample
                errCode: null
        '404':
          description: Not Found
          content:
            '*/*':
              example:
                message: Entity not found
                exception: Parking not found
                msgId: sample
                errCode: null
        '500':
          description: Internal Server Error
          content:
            '*/*':
              example:
                message: Internal server error
                exception: Smth bad happened
                msgId: sample
                errCode: null
components:
  schemas:
    JerseyCheckParkingRequest:
      type: object
      properties:
        licenseNumber:
          type:
            - string
            - 'null'
          description: >-
            Vehicle license plate. Normalized server-side. Trailing `*` enables
            ending-wildcard match (e.g. `ABC*`).
        countryCode:
          type:
            - string
            - 'null'
          description: >-
            ISO-3166 alpha-2 country code. Required when `externalLocationId` is
            provided; optional otherwise (falls back to the country derived from
            the calling domain).
        areaNo:
          type:
            - integer
            - 'null'
          format: int64
          description: Parking area number from the EasyPark area registry.
        superZoneNo:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Super-zone identifier; alternative to `areaNo` for wider-zone
            searches.
        operatorId:
          type:
            - integer
            - 'null'
          format: int64
          description: Parking operator identifier.
        parkingSpotNumber:
          type:
            - string
            - 'null'
          description: >-
            Exact parking-spot identifier. Use the `From`/`To` pair instead for
            a numeric range search.
        lastUpdateLocal:
          type:
            - string
            - 'null'
          description: >-
            ISO-8601 local datetime; returns only parkings updated at or after
            this point.
        scanDateLocal:
          type:
            - string
            - 'null'
          description: >-
            ISO-8601 local datetime to use as the "current time" for the search
            (overrides `now()`). When set, `parkingControlDate` is cleared.
        carState:
          type:
            - string
            - 'null'
          description: Optional filter on the parking's car state.
        parkingSpotNumberFrom:
          type:
            - string
            - 'null'
          description: >-
            Lower bound (inclusive) of a numeric parking-spot range. Used
            together with `parkingSpotNumberTo`. Only matches spots whose ID is
            purely numeric.
        parkingSpotNumberTo:
          type:
            - string
            - 'null'
          description: >-
            Upper bound (inclusive) of a numeric parking-spot range. Used
            together with `parkingSpotNumberFrom`.
        signageCode:
          type:
            - string
            - 'null'
          description: >-
            Signage zone code. Use the `From`/`To` pair instead for a range
            search.
        signageCodeFrom:
          type:
            - string
            - 'null'
          description: >-
            Lower bound of a signage-code range. Used together with
            `signageCodeTo`.
        signageCodeTo:
          type:
            - string
            - 'null'
          description: >-
            Upper bound of a signage-code range. Used together with
            `signageCodeFrom`.
        externalLocationId:
          type:
            - string
            - 'null'
          description: >-
            Partner-defined external location identifier. Requires `countryCode`
            in the same request.
        parkingId:
          type:
            - integer
            - 'null'
          format: int64
          description: Internal EasyPark parking session identifier.
        includePrice:
          type:
            - boolean
            - 'null'
          description: Include price details on each result.
        includeSourceSystem:
          type:
            - boolean
            - 'null'
          description: Include source-system identifier on each result.
        includeSpotNumber:
          type:
            - boolean
            - 'null'
          description: Include `parkingSpotNumber` on each result.
        includeParkingType:
          type:
            - boolean
            - 'null'
          description: Include parking type/category on each result.
        includeCarMakeColor:
          type:
            - boolean
            - 'null'
          description: Include car make and color when available.
        includeUsData:
          type:
            - boolean
            - 'null'
          description: >-
            Include US-specific fields (e.g. operator time zone). Use from US
            contexts.
        isPermit:
          type:
            - boolean
            - 'null'
          description: >-
            When `true`, returns only permit parkings; when `false`, only
            non-permit. Omit to include both.
    ListParkingsForCheckParkingResponse:
      type: object
      properties:
        status:
          type:
            - string
            - 'null'
          description: '`SUCCESS_OK` indicates success.'
        techErrorString:
          type:
            - string
            - 'null'
          description: Technical error description; null on success.
        userErrorString:
          type:
            - string
            - 'null'
          description: User-facing error message; null on success.
        userErrorKey:
          type:
            - string
            - 'null'
          description: Localization key for the user-facing error; null on success.
        params:
          type:
            - array
            - 'null'
          description: Parameters for the localized message; null when none.
          items: {}
        paramTypes:
          type: array
          description: Class names of each entry in `params`.
          items:
            type: string
        filteredProperties:
          type: array
          description: Properties removed because the caller lacked access rights.
          items:
            type: string
        operatorTimeZone:
          type:
            - string
            - 'null'
          description: Operator's time zone; omitted when null.
        importedParkingId:
          type:
            - integer
            - 'null'
          format: int64
          description: Imported parking ID when applicable; omitted when null.
        parkings:
          type:
            - array
            - 'null'
          description: Matching parkings.
          items:
            $ref: '#/components/schemas/CheckParkingRestResponse'
      required:
        - filteredProperties
    ExceptionDto:
      type: object
      properties:
        message:
          type: string
          description: Human readable high level explanation what happened
        exception:
          type:
            - string
            - 'null'
          description: >-
            Optional exception for cases when you don't have to hide the
            internal details
        msgId:
          type:
            - string
            - 'null'
          description: >-
            Correlation id that can be used to find the request easily from
            client side
        errCode:
          oneOf:
            - $ref: '#/components/schemas/BusinessLogicErrCode'
            - type: 'null'
      required:
        - message
    CheckParkingRestResponse:
      type: object
      properties:
        transactionId:
          type:
            - integer
            - 'null'
          format: int64
          description: Unique parking transaction ID.
        licenseNumber:
          type:
            - string
            - 'null'
          description: Vehicle license plate.
        startDateUTC:
          type:
            - string
            - 'null'
          description: Parking start in UTC.
        startDateLocal:
          type:
            - string
            - 'null'
          description: Parking start in the area's local timezone.
        endDateUTC:
          type:
            - string
            - 'null'
          description: Parking end in UTC.
        endDateLocal:
          type:
            - string
            - 'null'
          description: Parking end in the area's local timezone.
        areaNo:
          type:
            - integer
            - 'null'
          format: int64
          description: Parking area number.
        countryCode:
          type:
            - string
            - 'null'
          description: Country code of the parking area.
        areaName:
          type:
            - string
            - 'null'
          description: Parking area name.
        permitName:
          type:
            - string
            - 'null'
          description: Permit name, if the parking is a permit.
        permitAreaName:
          type:
            - string
            - 'null'
          description: Permit area name, if applicable.
        permitNote:
          type:
            - string
            - 'null'
          description: Free-text permit note, if applicable.
        sourceParkingSystem:
          type:
            - string
            - 'null'
          description: Originating parking system (`includeSourceSystem`).
        parkingSpotNumber:
          type:
            - string
            - 'null'
          description: Parking spot number (`includeSpotNumber`).
        parkingSubType:
          type:
            - string
            - 'null'
          description: Parking sub-type (`includeParkingType`).
        activeParkingType:
          type:
            - string
            - 'null'
          description: Active parking type (`includeParkingType`).
        isPermit:
          type:
            - boolean
            - 'null'
          description: Whether this is a permit parking (`includeParkingType`).
        carMake:
          type:
            - string
            - 'null'
          description: Vehicle make (`includeCarMakeColor`).
        carColor:
          type:
            - string
            - 'null'
          description: Vehicle color (`includeCarMakeColor`).
        carState:
          type:
            - string
            - 'null'
          description: State/region where the plate is registered; omitted if unavailable.
        signageCode:
          type:
            - string
            - 'null'
          description: Signage zone code; omitted if unavailable.
        paidMinutes:
          type:
            - integer
            - 'null'
          format: int32
          description: Paid duration in minutes (`includeUsData`).
        supplierCode:
          type:
            - string
            - 'null'
          description: Full supplier code (`includeUsData`).
        supplierShortCode:
          type:
            - string
            - 'null'
          description: Abbreviated supplier code (`includeUsData`).
        internalZoneCode:
          type:
            - string
            - 'null'
          description: Internal zone code (`includeUsData`).
        timeZone:
          type:
            - string
            - 'null'
          description: IANA timezone of the area (`includeUsData`).
        modifiedDateLocal:
          type:
            - string
            - 'null'
          description: Last modification, local time (`includeUsData`).
        modifiedDateUtc:
          type:
            - string
            - 'null'
          description: Last modification, UTC (`includeUsData`).
        createdDateLocal:
          type:
            - string
            - 'null'
          description: Record creation, local time (`includeUsData`).
        createdDateUtc:
          type:
            - string
            - 'null'
          description: Record creation, UTC (`includeUsData`).
        operatorId:
          type:
            - integer
            - 'null'
          format: int32
          description: Parking operator ID (`includeUsData`).
    BusinessLogicErrCode:
      type: string
      enum:
        - ERR_DUPLICATE_ENTITY
  securitySchemes:
    basicAuth:
      type: http
      description: Your SmartHUB API user's username and password.
      scheme: basic

````