Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      It was confirmed that the necessity of LIMS Sample COC has been replaced by new METRC features ion Nevada.

      Result might still have to be returned to METRC. Please provide information about the current METRC interface. It seems to be doiung REST now, https://api-co.metrc.com/Documentation/

      Lab Tests
      GET /labtests/v1/states
      GET /labtests/v1/types
      POST /labtests/v1/record

      We should look at creating Sample Records from METRC too and save the lab more time. A separate Feature request. Later

        Activity

        Hide
        lemoene lemoene added a comment - - edited

        root URL .. = https://api-co.metrc.com/Documentation/#getting-started*

        • Read Vendor/User API Key
          Requires Vendor Key in Bika Setup
          .._vendor_api_key
          .._user_api_key
        • Authenticate
          .._authentication
        • Interpret and report Server Response
        • Post to METRC on Bika Publish
        • Server Response Interpret and report, update Sample logs

        ----------------8<------------------------------------------------------------

        JSON everywhere? e.g Post Lab Test record, https://api-co.metrc.com/Documentation/#LabTests.post_labtests_v1_record

        POST /labtests/v1/record?licenseNumber=123-ABC
        [
          {
            "Label": "ABCDEF012345670000000001",
            "ResultDate": "2015-12-15T00:00:00Z",
            "Results": [
              {
                "LabTestTypeName": "THC",
                "Quantity": 100.2345,
                "Passed": true,
                "Notes": ""
              }
            ]
          },
          {
            "Label": "ABCDEF012345670000000002",
            "ResultDate": "2015-12-15T00:00:00Z",
            "Results": [
              {
                "LabTestTypeName": "THC",
                "Quantity": 100.2345,
                "Passed": true,
                "Notes": ""
              }
            ]
          }
        ]
        
        Show
        lemoene lemoene added a comment - - edited root URL .. = https://api-co.metrc.com/Documentation/#getting-started* Read Vendor/User API Key Requires Vendor Key in Bika Setup .._vendor_api_key .._user_api_key Authenticate .._authentication Interpret and report Server Response Post to METRC on Bika Publish Server Response Interpret and report, update Sample logs ---------------- 8< ------------------------------------------------------------ JSON everywhere? e.g Post Lab Test record, https://api-co.metrc.com/Documentation/#LabTests.post_labtests_v1_record POST /labtests/v1/record?licenseNumber=123-ABC [ { "Label": "ABCDEF012345670000000001", "ResultDate": "2015-12-15T00:00:00Z", "Results": [ { "LabTestTypeName": "THC", "Quantity": 100.2345, "Passed": true, "Notes": "" } ] }, { "Label": "ABCDEF012345670000000002", "ResultDate": "2015-12-15T00:00:00Z", "Results": [ { "LabTestTypeName": "THC", "Quantity": 100.2345, "Passed": true, "Notes": "" } ] } ]

          People

          • Assignee:
            Unassigned
            Reporter:
            lemoene lemoene
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Agile