We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API - GET doesn't work with %, but * works

Received Response
12
Views
5
Comments
edited Apr 15, 2021 1:51AM in Sales 5 comments

Summary

any idea?

Content

Hi,

For the contact records created with WS (CreatedByModule=HZ_WS), when I search them in GET API like below, 

https://pod/crmRestApi/resources/11.13.18.05/contacts?q=ContactName like '%adam2%'

No items are returned.

But when I search them with GET API like below,

https://pod/crmRestApi/resources/11.13.18.05/contacts?q=ContactName like '*adam2*'

I have contact records returned.

Any idea why % is not supported but * is?

Thanks,
Adam

Version

21A
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!