Recordbatch doesn't work


#1

I meet some problem.

please change the timestamp 1452174832
marshall@marshall-VirtualBox:~$ curl -d ‘{“calls”: [{“id”: 1,“procedure”: “recordbatch”,“arguments”: [{“alias”: “A_cur”},[[1452174832,“12345”]]]}],“auth”: {“cik”: “2f006afc8bd1ad3c35b6f4ffd78eee69bf949175”}}’ -H ‘Content-type: application/json; charset=utf-8’ http://m2.exosite.com/onep:v1/rpc/process
[{“id”:1,“status”:“ok”}]
marshall@marshall-VirtualBox:~$

but I didn’t see this data on portal.exosite.com.

I try to use ‘write’ procedure
marshall@marshall-VirtualBox:~$ curl -d ‘{“calls”: [{“id”: 1,“procedure”: “write”,“arguments”: [{“alias”: “A_cur”},“12345”]}],“auth”: {“cik”: “2f006afc8bd1ad3c35b6f4ffd78eee69bf949175”}}’ -H ‘Content-type: application/json; charset=utf-8’ http://m2.exosite.com/onep:v1/rpc/process
[{“id”:1,“status”:“ok”,“result”:1452146494}]

I saw this data on portal.exosite.com

WHY?? ‘write’ procedure works, but ‘recordbatch’ doesn’t.


#2

sorry

the device time is not correct(a future time due to use date command to set a local time)
after i use ntpclient to sync ntp time, everything is ok now.

thank your reading.