> ## 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.staging.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}.staging.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.
        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.
        longitude:
          type:
            - number
            - 'null'
          format: double
          description: Optional GPS longitude (decimal degrees).
        latitude:
          type:
            - number
            - 'null'
          format: double
          description: Optional GPS latitude (decimal degrees).
    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
        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`).
        carState:
          type:
            - string
            - 'null'
          description: State/region where the plate is registered; omitted if unavailable.
    BusinessLogicErrCode:
      type: string
      enum:
        - ERR_DUPLICATE_ENTITY
  securitySchemes:
    basicAuth:
      type: http
      description: Your SmartHUB API user's username and password.
      scheme: basic

````