Use this API operation to create or update quality results in analysis sets or master data in selection lists.
Returns 400 Bad Request if results is empty, or if editOnly is used without keyField. Returns 413 Payload Too Large if results contains more than 1,000 results.
Request formats
This operation accepts multipart/form-data, application/x-www-form-urlencoded and application/json.
With application/json, the request body is the results value itself, and setId, keyField, editOnly, addListOptions must be passed as query parameters. The query parameters below are only needed in that case; with a form content type they can be sent as form fields instead.
Examples
multipart/form-data:
curl -X POST 'https://tenant.alisqi.com/api/storeResults' \
-H 'Authorization: Bearer <token>' \
-F setId=12 \
-F 'results=[{"batch_": "B150125", "status_": "In production"}]'
application/x-www-form-urlencoded:
curl -X POST 'https://tenant.alisqi.com/api/storeResults' \
-H 'Authorization: Bearer <token>' \
--data-urlencode setId=12 \
--data-urlencode 'results=[{"batch_": "B150125", "status_": "In production"}]'
Unauthorized: no token was provided, or the token is invalid.
403
Forbidden: the user associated with the token lacks the required permission, or the request comes from an IP address that is not in the token's IP allow-list.
413
Payload Too Large: more than 1,000 results were sent.
500
Internal Server Error: an unexpected error occurred, or the rate limit has been exceeded (see Rate limiting in the API description).
Updated about 17 hours ago
Did this page help you?
Yes
No
Language
ShellNodeRubyPHPPython
Credentials
Bearer
URL
Base URL
https://tenant.alisqi.com/api/storeResults
Loading…
Response
Click Try It! to start a request and see the response here! Or choose an example: