Тема: Access Denied (Error code 7) - access level 0x800
I need to bind/unbind trailers through Javascript code, but if I use "&access_type=" + 0x800 in stead of 0x100, I can't log in and get error code 7 (Access Denied):
var url = dns + "/login.html"; // Tyretrack site DNS + "/login.html"
url += "?client_id=" + "App"; // Tyretrack application name
url += "&access_type=" + 0x800; // access level, 0x800 = "Edit sensitive data"
url += "&activation_time=" + 0;
url += "&duration=" + 604800;
url += "&flags=" + 0x1;
url += "&redirect_uri=" + dns + "/post_token.html";
When logging in with 0x100, I can log in fine. Could you please assist?