Pre-fill values in browser
As an alternative to using the API to store results, you can pre-fill the result entry form by adding a &values parameter — containing a JSON-encoded result object — to the result-add URL. This uses the exact same format as the storeResults API endpoint.
Example
To pre-fill a form with status = "In production" and batch = 1337, follow these steps:
- Start with the base result-add URL:
https://tenant.alisqi.com/sets/123/results/add
123represents thesetIdof the specific analysis set you're working with. - Append a
&valuesparameter containing a JSON-encoded result object:&values={"status": "In production", "batch": 1337} - URL-encode the parameter before appending it to the URL:
https://<tenant>.alisqi.com/sets/<set_id>/results/add?values=%7B%22status%22%3A%22In+production%22%2C%22batch%22%3A1337%7D
This will pre-fill the data entry form in the browser:
Using QR codes to pre-fill form values
You can embed pre-fill URLs in QR codes to create implicit system integrations: users scan the QR code, which opens the browser with the form already populated.
Some browsers, such as Chrome, offer built-in tools to quickly generate a QR code for any URL — check your browser's address bar options for this feature.
Contact AlisQI support to discuss how these capabilities can be applied to your use case.