Implementation of the REST API Model using QR Codes on Mobile Devices to Order Parking Tickets

Mauluddini Amras, Erwin Yulianto, Deshinta Arrova Dewi, Awan SetiawanInternational Journal of Advanced Computer Science and Applications 2023 · DOI

Abstract

Traditional parking systems often suffer from inefficiencies and mechanical failures, such as ticket machine jams and paper shortages. This paper proposes a digital transformation of parking services through a mobile application that utilizes a Representational State Transfer (REST) API and QR code technology. By adopting a pre-booking model, the system aims to reduce queue times and streamline the parking process. The research employs the Rapid Application Development (RAD) model for system design and the Forward Chaining Algorithm for decision logic. The resulting framework provides a scalable, reliable alternative to manual parking management, aligning with modern "Smart City" initiatives.

Introduction: The Problem with Analog Parking

Urban mobility is frequently hindered by outdated parking infrastructure. Most current systems rely on manual processes where drivers must interact with physical ticket dispensers. This "analog" approach introduces several critical failure points:

  • Mechanical Reliability: Physical dispensers are prone to jamming or running out of paper, leading to immediate traffic congestion at entry points.
  • Operational Inefficiency: Drivers lose time searching for available spots and waiting in manual payment lines.
  • Environmental Waste: The high volume of single-use paper tickets contributes significantly to urban waste.

To address these issues, this study proposes a digital ecosystem that allows users to reserve parking spaces and manage transactions remotely via mobile devices, effectively removing the physical ticket from the equation.

Methodology

The development of the proposed system was guided by structured software engineering frameworks to ensure both speed and reliability.

Rapid Application Development (RAD)

The project utilized the RAD model, which prioritizes iterative prototyping and user feedback over rigid, long-cycle development. This approach allowed the researchers to quickly move through requirements planning, user design, and construction phases to arrive at a functional prototype.

The Rapid Application Development (RAD) model used to structure the project phases.

REST API Architecture

The backbone of the system is a REST API, which facilitates seamless communication between the mobile client and the backend web services. This architecture was chosen for its scalability and ability to handle high-concurrency requests, which is essential for parking systems during peak hours. Data is exchanged using the JSON format, ensuring interoperability across different mobile platforms.

The interaction model between the mobile client and the backend service via a REST API.

QR Code Integration

QR codes serve as the virtual replacement for physical tickets. Unlike traditional 1D barcodes, QR codes offer 360-degree scanability and robust error correction. The authors highlight that QR codes are significantly faster to process—up to 20 times faster than conventional matrix codes—due to their specific position detection patterns at the corners, which allow scanners to determine orientation instantly.

Key Insights and Results

The research provides a qualitative validation of the transition from a manual four-step process (entry, search, manual payment, exit) to a streamlined digital workflow.

Performance Metrics

Initial latency estimates for the QR scanning process via the REST API suggest high efficiency:

  • Environmental Factors (e.g., lighting): 10–100 ms delay.
  • Network Overhead: 20–100 ms delay.
  • Software Processing: 5–50 ms delay.

These results indicate that the digital system can process entries and exits much faster than mechanical dispensers, even when accounting for network variability.

Reliability through Digitization

The primary advantage of this model is the elimination of mechanical failure points. By removing the need for physical paper and mechanical dispensers, the system inherently reduces the "downtime" associated with traditional parking lots. Furthermore, the use of Adobe AIR for the mobile application provides a cross-platform solution capable of delivering real-time data and navigation to the user.

Limitations and Future Work

While the proposed system offers significant improvements, several challenges remain for wide-scale implementation:

  • Connectivity: The REST API model depends on a stable internet connection. Underground garages with poor cellular reception may require local Wi-Fi solutions to ensure users can access their digital tickets.
  • Security: Protecting user payment data and personal information is paramount. Future iterations must implement rigorous encryption and security protocols to meet financial and data privacy regulations.
  • Maintenance: Ongoing investment is required to maintain the API and ensure compatibility with evolving mobile operating systems and hardware.

In conclusion, the integration of REST APIs and QR codes represents a viable path forward for modernizing urban parking, offering a more reliable, efficient, and environmentally friendly alternative to traditional manual systems.

Summary updated

Abstract

Many parking lots are still operate manually, and delays are commonly caused during the parking process when unforeseen events occur, such as when the parking ticket paper runs out or the ticket machines jam. New services are added to the parking system online with the aim of decreasing the amount of time that people spend waiting in line to park. This is done by conducting a parking booking system to obtain a parking ticket in the form of a QR Code as well as parking information, payment transactions, and other things that interfere with the parking process. In this study, the Forward Chaining Algorithm will be combined with the survey research method as the research methodology. The Rapid Application Development model is used for analysis and design (RAD). Representational State Transfer Application Programming Interface (REST API) is one of the solutions offered to overcome this problem. With the advent of online parking services, it is envisioned that customers who intend to park their vehicles in public spaces will be able to reserve a parking space in advance, greatly simplifying the process and eliminating the problem of the drawn out queue process.
BibTeX
@article{amras2023implementation,
  author = {Mauluddini Amras and Erwin Yulianto and Deshinta Arrova Dewi and Awan Setiawan},
  title = {{Implementation of the REST API Model using QR Codes on Mobile Devices to Order Parking Tickets}},
  journal = {International Journal of Advanced Computer Science and Applications},
  year = {2023},
  doi = {10.14569/ijacsa.2023.0141043},
}
Figure