Qless

POI URL

Credentials

  • User ID: crmservice
  • Password: XQOyPoYIt2

PLEASE DO NOT HARDCODE CREDENTIALS IN YOUR CODE. Import /var/www/qless.password like so:

require_once('/var/www/qless.password');

API Quick Start

Get location IDs from Command Centre:

  • e.g. ACS = 19456
  • e.g. Registrarial Services = 19464

To get basic information about a locationhttps://merchant.ca1.qless.com/qless/api/v1/kiosk/locations/{locationID or IDs (comma-separated)}

To get queues for a location: https://merchant.ca1.qless.com/qless/api/v1/kiosk/location/{locationID}/queues

Authentication (WIP)

Authentication is required for some API calls.

  1. Get WSSID = https://merchant.ca1.qless.com/qless/api/v1/wssid
  2. Authenticate at POST https://merchant.qless.com/qless/authenticator
    • Headers
      • X-WSSID-Authorization: {WSSID from above}
      • Content-Type: application/x-www-form-urlencoded
    • POST Data
      • 'principal' => $qless_username
      • 'credentials' => $qless_password
      • 'remember' => true
  3. If successful, the response returns cookies named JSESSIONID, i, au (ignore the actual output)