PI Vision Manual Data Entry AF

Hi,

 

i have found this Topic:

https://pisquare.osisoft.com/s/Blog-Detail/a8r1I000000HbIkQAK/pi-vision-manual-data-entry

 

Is it possible to set AF Attribtes?

 

I always get the following errors:

https://msr-srv-vision/piwebapi/attributes?path=%5C%5CMSR-SRV-AF%5CNHM-Energie%5CSandm%C3%BChlen%7CStart%20Datum

->

{

"Errors": [

"The specified path was not found. If more details are needed, please contact your PI Web API administrator for help in enabling debug mode."

]

}

 

The Path are a AF Database path.

 

 

 

Parents
  • Hi,

     

    i have Changed any User Secutitys.

     

    But now i have this Error Message:

    1. 2: {Status: 405, Headers: {Content-Type: "application/json; charset=utf-8", Allow: "GET,PUT"},…}
      1. Content: {Message: "The requested resource does not support http method 'POST'."}
      2. Headers: {Content-Type: "application/json; charset=utf-8", Allow: "GET,PUT"}
      3. Status: 405

     

  • I'm in the same boat as you. Just started this week trying to do this. I was able to use the testing code at https://github.com/AVEVA/sample-pi_web_api-common_actions-python to confirm I my API is set up correctly and works. This let me build a database, element template, element, point, and do both read/write, then erase it all; and it worked great. Then when attempting to use this same test code to write a value to an existing AF tag in my normal AF database I get this same 405 Method Not Allowed {"Message":"The requested resource does not support http method 'POST'."} error you're getting. Hopefully, one of us will figure out the issue or someone will lead us to the next step in our troubleshooting adventures. Maybe you'll have some luck with the sample code I linked to find the problem, I know if I find an answer I will definitely post it here as well.

Reply
  • I'm in the same boat as you. Just started this week trying to do this. I was able to use the testing code at https://github.com/AVEVA/sample-pi_web_api-common_actions-python to confirm I my API is set up correctly and works. This let me build a database, element template, element, point, and do both read/write, then erase it all; and it worked great. Then when attempting to use this same test code to write a value to an existing AF tag in my normal AF database I get this same 405 Method Not Allowed {"Message":"The requested resource does not support http method 'POST'."} error you're getting. Hopefully, one of us will figure out the issue or someone will lead us to the next step in our troubleshooting adventures. Maybe you'll have some luck with the sample code I linked to find the problem, I know if I find an answer I will definitely post it here as well.

Children
No Data