Jump to content
  • 0

Set global variable


Question

Hi. I need help with setting global variable via api calls. I have HC lite. My variable is "Pocitnice" and value can be "Da" or "Ne". In webbrowser i put this string:

 

http://192.168.1.48/api/globalVariables/Pocitnice

and I get this:

{"name":"Pocitnice","value":"Ne","readOnly":false,"isEnum":true,"enumValues":["Da","Ne"],"created":1490736622,"modified":1490891810}

 

So, what i must add to this url (http://192.168.1.48/api/globalVariables/Pocitnice) to set value "Da" to Pocitnice???

 

Please, help.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...