cURL
curl --request POST \ --url https://api.qminder.com/v1/locations/{id}/lines \ --header 'Content-Type: application/json' \ --header 'X-Qminder-REST-API-Key: <api-key>' \ --data ' { "name": "New Cool Line", "color": "#ffdc00" } '
"{\n \"statusCode\": 200,\n \"id\": 827\n}"
ID of a Location
The name of the new line. The maximum length is 30 characters.
The hexadecimal color code.
200
827