Extended Informations

This endpoint is for gathering more information about the parking permit than the simle permit endpoint. Such as the start and end date of the permit, and any notes that might be attached to the permit.

The ExtendedInformation model

Properties

  • Name
    registration_number
    Type
    string
  • Name
    zone
    Type
    int
  • Name
    active
    Type
    boolean
    Description

    Whether the permit is active or not.

  • Name
    start_at
    Type
    string
    Description

    The date when the permit starts.

  • Name
    end_at
    Type
    string
    Description

    The date when the permit starts.

  • Name
    note
    Type
    string
    Description

    Random information about the permit.

JSON Resource

{
  "registration_number": "VOX386",
  "zone": 4380,
  "active": false,
  "start_at": "2024-09-09T13:41:09.589670Z",
  "end_at": "2024-09-09T20:06:09.589670Z",
  "note": "OQTPS23JNblDdacd"
}
GET /api/v1/attendants/check-tickets

Retrieve permits for given zone or registration number

You can either provide a registration number or a zone number to check for active permits. ONE of the two is required.

Authentication

  • Type
    Token
    Description
    Authorization: Bearer [token]

Parameters

  • Name
    registration_number
    Type
    string
    Description

    The registration number to check for active permits.

  • Name
    zone
    Type
    int
    Description

    The zone number to check for active permits.

Request example

curl --request GET \ 
--url https://api.{tenant}.parkeraisverige.com/api/v1/attendants/check-tickets \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"zone": "1234" }'

Response

[
  {
    "registration_number": "KYH804",
    "zone": 4859,
    "active": true,
    "start_at": "2024-09-09T12:13:11.259220Z",
    "end_at": "2024-09-10T01:49:11.259220Z",
    "note": "6Kt4XiW4QvT5EJOW"
  },
  {
    "registration_number": "OJP152",
    "zone": 2466,
    "active": true,
    "start_at": "2024-09-09T15:12:11.259564Z",
    "end_at": "2024-09-10T04:23:11.259564Z",
    "note": "yWEpdV2QnimZMtBL"
  }
]

© Copyright 2024 Parkera i Sverige.

Nothing found for . Please try again.