1

Last Message with the Units request

Тема: Last Message with the Units request

Am using remote api core and am trying to get All the units under any account but i need more data with that request i need each unit last message with that request
am doing this right now :
{"itemsType":"avl_unit","propName":"sys_billing_account_guid","propValueMask":"896108","sortType":"sys_billing_account_guid","propType":"accounttree"},"force":1,"flags":1,"from":0,"to":0}

is there any way to add it the Last message Flag : 1024 to the request instead of getting all the cars and making a single request for each car ?

2

Last Message with the Units request

Re: Last Message with the Units request

To get the Last message from each unit. try this.

{"itemsType":"avl_unit","propName":"sys_name","propValueMask":"*","sortType":"sys_name","or_logic":0},"force":1,"flags":1024,"from":0,"to":0}&sid=<SID>

refer to the documentation on setting the flags here

for example  base flag = 1
last message and position= 1024
counters = 4096
So your flags will be 1+1024+4096 = 5121

Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

"Computer science is no more about computers than astronomy is about telescopes."
3

Last Message with the Units request

Re: Last Message with the Units request

thank you so much it worked big_smile