How to create an "analysis specification" by JSONAPI

Can someone show me an example of how to create “analysis specificaton” by JSONAPI?

by the code in below, it could create an analysis specification with blank value.
i didn’t know how to set result range while creating analysis specification.

data = {
# “parent_id”: “bika_analysisspecs”,
“title”: spec_name,
“description”: DESC,
“portal_type”: “AnalysisSpec”,
“SampleType”: sampletype_UID,
“parent_path”: “/senaite/bika_setup/bika_analysisspecs”,

url = url_base + “/create”, data=data, auth=auth)

thanks a lot in advance.

answered by myself, the issue related to

1 Like