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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How does the "query" function work?

Snoopy_hu
11-Garnet

How does the "query" function work?

Hello,everyone!

How do I write a query the QueryNumberPropertyHistory service?

I want to query values greater than 10.

thank you!

企业微信截图_17126503755551.png

ACCEPTED SOLUTION

Accepted Solutions

Hi @Snoopy_hu ,

 

Kindly find the below snapshot of Query input of service - QueryNumberPropertyHistory. 

Also find the attached link for Query Parameter for Query Services   & Using JSON Filters in Query Services.

{
    "filters":{
      "type": "GT",
      "fieldName": "value",
      "value": 10
   }
}

Complete Result: 

Arun_C_1-1712659326720.png

 

Expected Result:

Arun_C_0-1712659105211.png

Thanks & Regards,

Arun C

 

View solution in original post

2 REPLIES 2

Hi @Snoopy_hu ,

 

Kindly find the below snapshot of Query input of service - QueryNumberPropertyHistory. 

Also find the attached link for Query Parameter for Query Services   & Using JSON Filters in Query Services.

{
    "filters":{
      "type": "GT",
      "fieldName": "value",
      "value": 10
   }
}

Complete Result: 

Arun_C_1-1712659326720.png

 

Expected Result:

Arun_C_0-1712659105211.png

Thanks & Regards,

Arun C

 

Hi @Arun_C ,

Ok, I tried it successfully through your method, thank you very much!

Thanks & Regards,

Snoopy_hu

Announcements


Top Tags