Topic: UniqueID
Hello.
I'm working with JAVA API to get Unit's and its properties (UniqueId, Phonenumber), somebody know how to get it? I don't know if i have to set a DataFlag.
I hope your comments. Thanks!
Hello.
I'm working with JAVA API to get Unit's and its properties (UniqueId, Phonenumber), somebody know how to get it? I don't know if i have to set a DataFlag.
I hope your comments. Thanks!
Hello Kopa!
Thanks for help me in other post.
I'm using this dataflag to get data unit (Name, customfields, UniqueId, phonenumber)
Item.dataFlag.base.getValue() | Item.dataFlag.customFields.getValue() | Item.accessFlag.editImage.getValue()
Before that delivery the new update system i can get it, but today only gets null data.
Can you tell me what is the dataflag that give the UniqueId and phonenumber??
I hope your comments.
Thanks!
Hello Guys!
I'm deploy with JAVA API and i have a question, What is the dataflag that i need to get UniqueId, phonenumber1 and 2 ? , before the new update i used
Item.dataFlag.base.getValue() | Item.dataFlag.customFields.getValue() |Item.accessFlag.editImage.getValue()
Thoses apply correctly, but now only i have null data.
I hope your comments.
Thanks in advance!
Desarrollo Hello. You can get unit's unique id and phone number by Unit.dataFlag.restricted data flag.
Hello kopa.
I use this dataFlag but i can't get data Unit. I don't know if this is an error because i'm trying with all dataFlags
I hope your comments.
Thanks!
Here is the code
Desarrollo Please check access type for token, which you use.
Parameter access type
Value Description
0x100 online tracking
0x200 view access to most data
0x400 modification of non-sensitive data
0x800 modification of sensitive data
0x1000 modification of critical data, including messages deletion
0x2000 communication
-1 unlimited operation as authorizated user
(allows to manage user tokens)
http://sdk.wialon.com/wiki/en/sidebar/r … cess_flags
http://sdk.wialon.com/wiki/en/sidebar/r … rmat/token
Thank you so much!! I changed properties to generate token and its working!
Hello Kopa!!
I'm trying to get Messages by unit, but i don't know what is the best way tu use this method??
msj.loadInterval(id, from, to, 0, 0, Integer.MAX_VALUE, new MessagesResponseHandler()
{
I hope that you can explain.
Thanks
Please see example for Remote API and example for Javascript SDK. Example for Java API will be a similar.