API ListTasks returns an invalid number of records

3 posts / 0 new
Last post
MNN
API ListTasks returns an invalid number of records

Hello,
I'm trying to get a certain number of tasks, but api returns fewer records than there are in the database.

HTTP_AMI.post('/api/Task/ListTasks', {"Targets": 8062,"DeviceId": deviceId, "ObjectId": 0,"AttributeId":0,"Count":tasksCount}).
If "Targets" = 32, then it returns the correct number of tasks.

Executes correctly if count is 0 - returns all records.

Kurumi
Kurumi's picture

Hi,

I'll check this if you can share information on what database you are using?

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

MNN

SQLite