Тема: Help with Wialon Remote APi route search
HI all!
Not sure if this is the right place to ask but i am completely lost on why this param json doesnt return any items
{
"spec":{
"itemsType":"avl_route",
"propName":"*",
"propValueMask":"*",
"sortType":"sys_name",
"propType": "property",
"or_logic": 1
},
"force": 1,
"flags":513,
"from":0,
"to":0
}
i've also tried many different combinations of params but nothing returns any items. this is the response i get every time
{
"searchSpec": {
"itemsType": "avl_route",
"propName": "*",
"propValueMask": "*",
"sortType": "sys_name",
"propType": "property",
"or_logic": "1"
},
"dataFlags": 513,
"totalItemsCount": 0,
"indexFrom": 0,
"indexTo": 0,
"items": []
}
My goal is to be able to search routes by unitId and time interval. i also have NO idea how to do this.. i have seen and understand your multicriteria search but i have no idea which fields to use to filter routes for a specific unit and between two points in time.
i have also watched a youtube vid by Diana but she never touches on routes unfortunately so im stuck.
Hoping for a fast reply!
Thanks,
Alen
Edit: Devs, i have created another post in the subforum Working with Wialon.. delete that one i guess, this should be in this subforum