cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to use "maxItems" in query parameter of Querynumberporpertyhistory service

AL_10742319
4-Participant

How to use "maxItems" in query parameter of Querynumberporpertyhistory service

how to set "maxItems" into query input in service 
example
I need to query data from Start(8:00) - End(9:00) maxItems = undefined
and I need to query data from Start(undefined) - End(8:00) maxItems = 1

AL_10742319_0-1720170873290.png

now I call Querynumberporpertyhistory service 2 times, but I concern about performance 

AL_10742319_1-1720170931951.png

is possible to call 1 time and use query parameter in Querynumberporpertyhistory
now I try, maxItems is not work but timestamp is work
{
"filters": {
"type": "Between",
"fieldName": "timestamp",
"from": 1720054800000,
"to": 1720058400000,
"maxItems": 1,
"oldestFirst": false
}
}

0 REPLIES 0
Top Tags