Topic: How to Set Measurement Unit of an Unit
I am using wialon Remote API. I created one Account using the API to use the “Metric” measurement system. I added few units under that account through the API. Noticed those units are set to use “U.S” measurement system rather than Metric measurement system.
Do we need to explicitly set the measurement system for each unit while adding ?
If that is the case, we found below API method to set the measurement unit.
Trying to change the measurement Unit of one Unit from “US” to “Metric”. Itemid is the id of the unit.
while trying to use the above request, I am getting error code 7 which is for “Access Denied”. I am using Sid from a top level user who has all the access to Create Unit.
Any help would be appreciated.