Skip to main content
Solved

Cannot find inventory items with underscore with Api

  • Feb 18, 2026 10:19 PM UTC
  • 1 reply
  • 61 views
  • Translate All

I have an Inventory with underscore eg. TEST_1 with the same description.

If i make a request with ?$filter=InventoryId eq ‘TEST_1’ it cannot find it but it can find it with  ?$filter=Description eq ‘TEST_1’.

 

I CAN also find with  ?$filter=InventoryId eq ‘TEST_1’ it but when I query a GI with Odata, but not with Rest API.

This is the case for all items with underscore, any ideas? My segmented keys for items are question marks and not underscores.

Best answer by Rakshanda

Hi ​@petar2903k ,

I have verified above scenario, but i am able to get  details using

?$filter=InventoryId eq ‘TEST_1’ details,

 

View original

1 reply

Forum|alt.badge.img+8
  • Jr Varsity II
  • Answer
  • Feb 19, 2026 5:12 AM UTC

Hi ​@petar2903k ,

I have verified above scenario, but i am able to get  details using

?$filter=InventoryId eq ‘TEST_1’ details,

 

Translate