All of the eazy2biz cloud APIs have querying and sorting implemented to effectively fetch the right data consistently.Querying#
To query a particular entity, use the filter endpoint. To pass what is to be queried, you need to pass an EntitySearch object in the payload body.In this typescript object, one can pass the FieldSearch object, which would specify what is to be queried, effectively forming a query language in the EntitySearch object.We support almost all types of SearchTypes:
- REGEX
- VALUE_EQUAL
- VALUE_NOT_EQUAL_TO
- VALUE_GREATER_THAN
- VALUE_GREATER_THAN_EQUAL_TO
- VALUE_LESS_THAN
- VALUE_LESS_THAN_EQUAL_TO
- VALUE_IN_ARRAY
- VALUE_NOT_IN_ARRAY
- FIELD_EXISTSSorting#
To sort the data, the sortQuery is specified in the EntitySearch object. You can pass multiple sort queries, and it will honour all of them.Modified at 2024-07-09 18:36:07