API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Search partially in the phone number (using wildcards)

Hi E-conomic

I am very much missing this API operation named something like "Debtor_FindByPartialTelephoneAndFaxNumber"

If I had this I could use wildcards while searching for telefon numbers. Can this be made available via the old or the new API?

And if only there where 3 fields for phone numbers we did not need to put them into one little field.

I would therefor also recommend that the "TelephoneAndFaxNumber" field was seperated into 3 fields:

1) Mobile phone number

2) Landline phone number

3) Fax phone number
created May 21, 2015 by Jens Kirk
14% Accept Rate
Q 15 A 9 C 7

1 Answer

Best answer

Hi Jens

Thank you for your input.

SOAP is feature freeze, but:

You can already do wildcard searches today using the filter option via REST:

See http://restdocs.e-conomic.com/#filtering

E.g. https://restapi.e-conomic.com/customers?filter=telephoneandfaxnumber$gt:123456

Equals: "$eq:"
Not equals: "$ne:"
Greater than: "$gt:"
Greater than or equal: "$gte:"
Less than: "$lt:"
Less than or equal: "$lte:"
Substring match: "$like:"
And also: "$and:"
Or else: "$or:"
$: "$$"
(: "$("
): "$)"
*: "$*"
wildcard: "*"
nullValue: "$null:"
answered Jun 22, 2015 by olej
selected Jun 22, 2015 by Jens Kirk
Thank you :-) We will upgrade to REST :-)
Visma e-conomic A/S