Parkalot API (0.3.1)

Download OpenAPI specification:Download

API for integration of 3rd party applications or systems with Parkalot.

Reports

Endpoints for retrieving parking reports

Query parking reports in human and machine readable format.

Retrieve parking reports for a specified date range.

For optimal performance and to conserve API quota, it's recommended to query only the specific dates needed (e.g., single days, weeks, or months at a time). While there's no strict limit on the date range, frequent queries over long durations may deplete your API quota quickly.

Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

fromDay
required
string <date> (Date)
Example: 2023-07-15

Start date in YYYY-MM-DD format. Must be before or equal to toDay.

toDay
required
string <date> (Date)
Example: 2023-07-15

End date in YYYY-MM-DD format. Must be after or equal to fromDay.

Responses

Response samples

Content type
application/json
{
  • "query": {
    },
  • "data": [
    ]
}

Reservations

Endpoints for retrieving reservations

Query reservations in human and machine readable format.

Retrieve reservations for a specified date range.

The limit is set to 31 days

Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

fromDay
required
string <date> (Date)
Example: 2023-07-15

Start date in YYYY-MM-DD format. Must be before or equal to toDay.

toDay
required
string <date> (Date)
Example: 2023-07-15

End date in YYYY-MM-DD format. Must be after or equal to fromDay.

query Parameters
item_tags
boolean
Default: false

Include item tags in the response

item_description
boolean
Default: false

Include item description in the response

item_group_id
boolean
Default: false

Include item group id in the response

item_group_name
boolean
Default: false

Include item group name in the response

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "query": {
    }
}

Query reservations in human and machine readable format - flat structure.

Retrieve reservations for a specified date range.

The limit is set to 31 days

Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

fromDay
required
string <date> (Date)
Example: 2023-07-15

Start date in YYYY-MM-DD format. Must be before or equal to toDay.

toDay
required
string <date> (Date)
Example: 2023-07-15

End date in YYYY-MM-DD format. Must be after or equal to fromDay.

query Parameters
item_tags
boolean
Default: false

Include item tags in the response

item_description
boolean
Default: false

Include item description in the response

item_group_id
boolean
Default: false

Include item group id in the response

item_group_name
boolean
Default: false

Include item group name in the response

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "query": {
    }
}

Check for reservation changes since a specific timestamp.

Check if there were any changes to reservations or parking setup within the specified date range since a given timestamp.

Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

fromDay
required
string <date> (Date)
Example: 2023-07-15

Start date in YYYY-MM-DD format. Must be before or equal to toDay.

toDay
required
string <date> (Date)
Example: 2023-07-15

End date in YYYY-MM-DD format. Must be after or equal to fromDay.

query Parameters
since
required
integer <int64>
Example: since=1689420000000

Unix timestamp in milliseconds.

Responses

Response samples

Content type
application/json
{
  • "hasChanges": true,
  • "changes": [
    ]
}

Update reservations in batch.

This endpoint manages parking spot reservations, allowing both reservation creation and release.

Request Payload: - An array of reservation action objects, each representing a reservation or release action for a specific parking spot and time slot.

Functionality:

  1. Reserve Time Slots:
    • To reserve time slots, provide a valid user ID (uid) in the reservation action object.
    • The uid field must be a non-null string value.

  2. Unreserve Time Slots:
    • To release (unreserve) time slots, set the uid to null in the reservation action object.
  3. Combined Reserve and Unreserve:
    • Each reservation action object in the array can independently reserve or release time slots based on the presence or absence of a uid.
    • You can include both reserve and unreserve actions in the same request payload.
Note: Partially releasing spot with an ownership results with confirming other shifts
Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

Request Body schema: application/json
required
Array
uid
string

For example "7f8e9d6c5b4a3f2ed6c5b434"

string or integer

For example "3" or 3

day
string <date> (Date)

Date in YYYY-MM-DD format

shifts
Array of strings (Shift)
withWaitlist
boolean or null

If true, unreserving a spot will trigger the waitlist

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
[
  • {
    }
]

Delete reservations for a specific date range and user.

Delete reservations for a specific date range and user.

The limit is set to 31 days.

At least one user identifier (uid, externalId, or email) must be provided.

Authorizations:
ApiKeyAuth
path Parameters
facilityId
required
string (FacilityId)
Example: x0CO2RdMTYIXPzpQD1ysDWN14wj3

The identifier of an office, car park or any other site.

fromDay
required
string <date> (Date)
Example: 2023-07-15

Start date in YYYY-MM-DD format. Must be before or equal to toDay.

toDay
required
string <date> (Date)
Example: 2023-07-15

End date in YYYY-MM-DD format. Must be after or equal to fromDay.

query Parameters
uid
string
Example: uid=7f8e9d6c5b4a3f2ed6c5b434

User ID to delete reservations for

externalId
string
Example: externalId=7189

External user ID to delete reservations for

email
string
Example: email=mike.spencer@acme.com

User email to delete reservations for

withWaitlist
boolean
Example: withWaitlist=true

If true, unreserving a spot will trigger the waitlist

Responses

Response samples

Content type
application/json
{
  • "success": true
}