0 Replies Latest reply on Jul 17, 2018 9:52 AM by Ashwin.Kumar

    PIWEBAPI returning different results for same webid

    Ashwin.Kumar

      Hi Community,

       

      while using PIwebAPI Streams we are getting different results for same webid from different PIWebAPI urls.

       

      https://PIwebapiserver/piwebapi/streams/F1AbEDlVMSDE7CEinjHBJJuaTJQV8NSuZF85TE9HRVNSV0FQMDAxXEdFTkVSQVRJT04gRlVFTFNcTUlORVNcQUlSTFl8Q1Y/recorded?startTime=2018-05-18%2012:05:59&endTime=2018-07-17%2012:07:59

       

      {

        "Links": {},

        "Items": [

          {

            "Timestamp": "2018-05-18T02:05:59Z",

            "Value": null,

            "UnitsAbbreviation": "",

            "Good": false,

            "Questionable": false,

            "Substituted": false,

            "Errors": [

              {

                "FieldName": "Value",

                "Message": [

                  "Failed to load 'Formula' PlugIn: The PlugIn type 'OSIsoft.AF.Asset.DataReference.FormulaDR' was not found."

                ]

              }

            ]

          }

        ],

        "UnitsAbbreviation": ""

      }

       

      {
        "Links": {},
        "Items": [
          {
            "Timestamp": "2018-05-18T02:05:59Z",
            "Value": null,
            "UnitsAbbreviation": "",
            "Good": false,
            "Questionable": false,
            "Substituted": false,
            "Errors": [
              {
                "FieldName": "Value",
                "Message": [
                  "Failed to load 'Formula' PlugIn: The PlugIn type 'OSIsoft.AF.Asset.DataReference.FormulaDR' was not found."
                ]
              }
            ]
          }
        ],
        "UnitsAbbreviation": ""
      }

      this is not throwing any error while accessing.

      https://PIwebapiserver#2/piwebapi/streams/F1AbEDlVMSDE7CEinjHBJJuaTJQV8NSuZF85TE9HRVNSV0FQMDAxXEdFTkVSQVRJT04gRlVFTFNcTUlORVNcQUlSTFl8Q1Y/recorded?startTime=2018-05-18%2012:05:59&endTime=2018-07-17%2012:07:59

       

      Appreciate your quick help

      Thank you

      Ashwin