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

Resource API q string

Accepted answer
39
Views
2
Comments
edited May 7, 2020 6:27PM in Sales 2 comments

Summary

Resource API q string

Content

Quick question - I passed two conditions with or and got different result. I wondered why.

Here is the detail,

1. When i call this in postman - https://pod/crmRestApi/resources/11.13.18.05/resources?q=PersonLastName LIKE 'liu%' or PersonFirstName LIKE 'adam%'

I got resource 'adam liu' and 'tester liu' returned.

2. When i call this in postman - https://pod/crmRestApi/resources/11.13.18.05/resources?q=PersonFirstName LIKE 'adam%' or PersonLastName LIKE 'liu%'

I only got resource 'adam liu' returned.

Any idea why 'tester liu' is not returned in 2nd call?

Thanks,

Adam

 

Version

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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