Seamless Integration
Qsmart provides an effortless integration process which makes your implementation process a breeze without affecting your existing systems functionality. It is all done in 3 simple REST API call.
Cloud Solution in No Time
Using Qsmart platform, your system can issue a ticket remotely and send notication to any user from anywhere. You don't have to worry about the server maintenance cost or system failure because we bear all the pain.
Profit Sharing
Earn more from selling your queuing solution through our profit sharing scheme. You will earn when users request a ticket to be in a queue remotely. This is the ultimate win-win solution.
Be Part Of Our Family
Welcome to join our effort to make the world a better place.
Register now to be part of Qsmart
You can register and start integrating your solution with us or scroll down for a quick guide on how to implement your solution with Qsmart.
Introduction

Qsmart provides an ecosystem combining all existing queuing or line management systems and allows them to interact.

The ecosystem of Qsmart can be divided into 3 parts: User, Service Provider and System Provider.

  • User - people who uses the queueing service provided by Service Provider
  • Service Provider - organization/company which is providing a service and uses queueing system for their organization/company
  • System Provider - organization/company which provides the queueing system/machine to Service Provider

This quick guide will show how the implementation is done for the System Provider in order to integrate Qsmart into their system.

How It Works

In order for your existing system to use the services provided by Qsmart, you would need to use the API provided.

Qsmart used REST API so it is platform independent. Regardless of what system you are using, as long as your system is able to send/receive data through HTTP, using Qsmart is not a problem.

The Qsmart API consist of 3 methods:

  • POST - used to update Qsmart on the current number of tickets
  • GET - used to request/ask Qsmart whether there is anyone requesting for a ticket
  • PUT - used to issue ticket to the user through Qsmart
Update Current Serving

To update Qsmart on the current serving ticket, use the POST method provided by Qsmart API.

Below shows an example of implementation written in Java:

The parameters needed to pass to Qsmart server are:

  • Id - Tracker id which uniquely identifies your queue
  • CurrentCall - The current serving ticket number
  • IssuedNumber - The last issued ticket number
                URL url = new URL("http://www.qsmart.my/WriteLine");
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.setDoOutput(true);
                conn.setRequestMethod("POST");
                conn.setRequestProperty("Content-Type", "application/json");
                String input = "{\"Id\":(tracker_ID),\"CurrentCall\":\"(Current serving ticket)\",\"IssuedNumber\":\"(Last issued ticket)\"}";
                OutputStream os = conn.getOutputStream();
                os.write(input.getBytes());
                os.flush();
                    
                if (conn.getResponseCode() != HttpURLConnection.HTTP_CREATED) {
                    throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());
                }
                    
                conn.disconnect();
            
Get Requesting Ticket

To request Qsmart for any pending ticket to issue, use the GET method of Qsmart API.

Below shows an example of implementation written in Java:

The parameters needed to pass to Qsmart server are:

  • tracker_ID - Tracker id which uniquely identifies your queue
                URL url = new URL("http://www.qsmart.my/WriteLine?tracker=(tracker_ID)");
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.setRequestMethod("GET");
                conn.setRequestProperty("Accept", "application/json");
                
                if (conn.getResponseCode() != 200) {
                    throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());
                }

                BufferedReader br = new BufferedReader(new InputStreamReader((conn.getInputStream())));
            
Issue Ticket

To issue ticket to user through Qsmart, use the PUT method of Qsmart API.

Below shows an example of implementation written in Java:

The parameters needed to pass to Qsmart server are:

  • Id - Tracker id which uniquely identifies your queue
  • TicketToken - Ticket ID which uniquely identifies the ticket
  • Number - The ticket number being issued
                URL url = new URL("http://www.qsmart.my/WriteLine");
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.setDoOutput(true);
                conn.setRequestMethod("PUT");
                conn.setRequestProperty("Content-Type", "application/json");
                String input = "{\"Id\":(tracker_ID),\"TicketToken\":\"(Ticket_Token)\",\"Number\":\"(Ticket Number)\"}";
                OutputStream os = conn.getOutputStream();
                os.write(input.getBytes());
                os.flush();
                    
                if (conn.getResponseCode() != HttpURLConnection.HTTP_CREATED) {
                    throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());
                }
                    
                conn.disconnect();
            
Run Qsmart with your browser
Search for services post office, hospital or clinics?
Why use Qsmart?
With Qsmart you can save your time, receive notification on the go and queue smarter. The quick answer is why not?

Save your time
Using Qsmart to queue saves you a lot of time and hassle. We take away the pain of waiting endlessly for your turn to be served.
Request ticket anywhere
Request your ticket and be in the queue remotely. You can request for your ticket just hours before you arrive.
Realtime Updates
Qsmart app display current updates from a waiting line in real time. That means you can go anywhere and still get updated.
Get notification
Qsmart notifies you when it is almost your turn. This clever little app also tells you approximately how long it will take for your turn to be served.
It's FREE
Yes, for all the holy grail features, the app is completely FREE. It is available for download through Android, Apple ITune, and Windows Store. You can even access through your browser.