Manual Event Data Entry

Hello,

 

I am stuck with a code where i am trying to update event frame data. As i am new to this pi vision where i am not much familiar with the endpoints. While Debugging this code i am getting and error like

 

  1. Headers: {Content-Type: 'application/json; charset=utf-8'}
  2. Status: 200

 

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

 

Can anyone help me. It will be very thankful, like my requirement is like manually input event data, such as hours saved, remarks, and opportunity cost. Where i can modify the value and save it,

 

   

Parents Reply
  • Hey Jinmo, Its really a great help from your side, like I have resolved issues at every step. But with a few basic things, I am really stuck. This is really new and challenging task for me Please do help me to overcome the issue I am having related to the URL part, i.e., updateOption=replace' is not a valid URI, path=undefined piwebapi/attributes?path=undefined:, "Content": "The resource 'F1RS8QjbgsDbYk6_ESqRYc3z0QU0VSMDAx?updateOption=replace' is not a valid URI." Can you help me find out the correct URL or assist me with code changes? It will be like a great thank-you to you.


    image.png

    image_1.png

    image_2.png

Children
No Data