Get All Messages

0 votes
Hi,

I have a problem regarding getAllMessages API.

Is the returned result list ordered by "sentOn" field, or there is no guaranteed order?

Thanks in advance!
asked Jun 24, 2014 in Discuss & suggest API by Bob Anoop (19 points)

1 Answer

0 votes
Hi,

GetAllMessages API returned result list based on sendedOn  field.

Thanks!
answered Jun 24, 2014 by hs00105 (517 points)
Hi,
Based on my observation, some results seem be to disordered...see the log:
SendedOn:Fri Jun 27 00:36:41 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbc99e4b0563a35879522
SendedOn:Fri Jun 27 00:37:49 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbcdde4b0563a35879525
SendedOn:Fri Jun 27 00:37:57 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53acbce5e4b0ea73e9826b00
SendedOn:Fri Jun 27 00:40:01 PDT 2014 Username:www Ownername:zzz BuddyName:null MessageId:53acbd61e4b0563a3587952a
SendedOn:Fri Jun 27 00:40:42 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbd8ae4b0ea73e9826b06
SendedOn:Fri Jun 27 00:41:18 PDT 2014 Username:www Ownername:zzz BuddyName:null MessageId:53acbdaee4b0ea73e9826b07
SendedOn:Fri Jun 27 17:48:14 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53adae5ee4b0cb8bccb8f095
SendedOn:Fri Jun 27 17:48:44 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53adae7ce4b0ea73e9827a3d
SendedOn:Fri Jun 27 19:12:25 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53adc219e4b0ea73e9827c33
SendedOn:Fri Jun 27 19:17:25 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53adc345e4b0cb8bccb8f2db
SendedOn:Fri Jun 27 19:20:48 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53adc410e4b0563a3587a503
SendedOn:Tue Jul 01 22:07:24 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53b3311ce4b0fd35f509e52a
SendedOn:Fri Jun 27 00:36:38 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbc96e4b0cb8bccb8e0d1
SendedOn:Fri Jun 27 00:38:39 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbd0fe4b0cb8bccb8e0d5
SendedOn:Fri Jun 27 00:38:46 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53acbd16e4b0563a35879527
SendedOn:Fri Jun 27 00:41:09 PDT 2014 Username:www Ownername:zzz BuddyName:null MessageId:53acbda5e4b0cb8bccb8e0de
SendedOn:Fri Jun 27 19:15:13 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53adc2c1e4b0ea73e9827c43
SendedOn:Fri Jun 27 21:29:49 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53ade24de4b0563a3587a83f
SendedOn:Fri Jun 27 21:29:56 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53ade254e4b0ea73e9827fe7
SendedOn:Fri Jun 27 21:53:19 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53ade7cfe4b0cb8bccb8f730
SendedOn:Fri Jun 27 21:53:28 PDT 2014 Username:www Ownername:qaz BuddyName:null MessageId:53ade7d8e4b0cb8bccb8f732
SendedOn:Tue Jul 01 21:59:38 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53b32f4ae4b0fd35f509e501
SendedOn:Tue Jul 01 22:11:35 PDT 2014 Username:www Ownername:www BuddyName:null MessageId:53b33217e4b0c7a6721620d6

This is the original list I get by getAllMessages without any processing, the weird thing is that there is a "Jul 01" among "Jun 27".

Any idea for that? Thanks!
The messages I get from server seem to have the same timing disorder issue.
Please let me know as well.
Thx.
Hi Arun,
Disorder of messages issue is resolved from our side.Please check.

Thanks for having patience.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...