Returns a query string ready to be sent in request params to backend.
Example
const query = { __filter: { 'name': 'My Device*', 'c8y_Availability.status': { __in: ['AVAILABLE', 'UNAVAILABLE'] }, 'creationTime': { __lt: '2015-11-30T13:28:123Z' }, 'c8y_ActiveAlarmsStatus.critical': { __gt: 0 }, __or: [ {__not: {__has: 'c8y_ActiveAlarmsStatus.major'}}, { __or: [ {__bygroupid: 10300}, {__bygroupid: 10400} ] } ] }, __orderby: [ {'name': 1}, {'creationTime': -1}, {'c8y_ActiveAlarmsStatus.critical': -1} ] }; const params = { query: queriesUtil.buildQuery(query) };
Generated using TypeDoc