Hi,
Is it possible to write query in client side that contains 'like' operator for Integer field.
I'm trying to write in WebApi.retrieveMultipleRecords, and to send fetchXml parameter:
<fetch mapping="logical">
<entity name="lead">
<attribute name="fullname" />
<filter type="and">
<condition attribute="new_auto_id" operator="like" value="%1231%" />
</filter></entity>
</fetch>
The field new_auto_id is integer type.
The response is:
{"error":{"code":"0x80040203","message":"An exception System.FormatException was thrown while trying to convert input value '%\\1231\\%' to attribute 'lead.new_auto_id'.
Expected type of attribute value: System.Int32. Exception raised: Input string was not in a correct format."}}
Any idea?
Thanks