AnsweredAssumed Answered

GetPISnapshotData

Question asked by Sunil_Shetty on Jan 30, 2018
Latest reply on Jan 30, 2018 by gregor

Hi Experts,

 

                I am trying to fetch the equipment Tag run hours from OSIPI WS using the method "GetPISnapshotData".

 

I would like to know how to fetch run hours for a given date and time.

 

Request sent from SOAPUI Tool :  (Tag name : PCS.B123456.PV) I tried sending the request as follows and I got error saying wrong syntax.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pid="http://xml.osisoft.com/services/PIDataService">

   <soapenv:Header/>

   <soapenv:Body>

      <pid:GetPISnapshotData>

         <!--Optional:-->

         <pid:paths>

            <!--Zero or more repetitions:-->

            <pid:string>pi:\\piserverhostname\'PCS.B123456.PV','2018-01-29'</pid:string>

         </pid:paths>

      </pid:GetPISnapshotData>

   </soapenv:Body>

</soapenv:Envelope>

 

 

Appreciate your response.

 

Thanks in Advance.

 

Cheers,

Sunil

Outcomes