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:
Name | Type | Description |
---|---|---|
id | number | |
name | string | User-specified name of the Line |
location | number | ID of the location the Line belongs to |
color | string | Hex color code of the line, used for coloring charts |
disabled | boolean | True 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
}