Lines represent virtual queues in Qminder.

One Location can have multiple Lines. It is recommended to have one Line for every different type of service, because this way it is possible to view statistics based on service type.

Visitor tickets are assigned to lines.

Lines can be enabled or disabled. When a line is disabled, visitors cannot be added to the line. Disabled lines are not selectable on Visit Planner and iPad.

Fields

Lines have the following data fields:

NameTypeDescription
idnumber
namestringUser-specified name of the Line
locationnumberID of the location the Line belongs to
colorstringHex color code of the line, used for coloring charts
disabledbooleanTrue if the line is disabled, false if the line is enabled.

Code examples

This is a Line object as returned by our RESTful API and our official libraries.

{
  "id": 49185,
  "name": "Service Line",
  "location": 5610,
  "color": "#f0f0f0",
  "disabled": false
}