Filter Can Now Be Used with or without a Space


In a call where a GET request was used in combination with a filter, it was important to correctly use spaces between the operators (=, <, >, <=, >=). This was very error-prone, so the filters were not applied in all situations. We have improved this. It is now possible to work with or without spaces in a filter.

 

Voorbeelden

GET {{restUrl}}/Documents/prdl/?Filter=magl_code=2000in AND prdl_status=1&FieldList=prdh_num,prdr_num,prbv_num,plnb_num,magl_code,prdl_num,prdl_status » no space usage at Filter=magl_code=2000in

GET {{restUrl}}/Documents/prdl/?Filter=magl_code = 2000in AND prdl_status = 1&FieldList=prdh_num,prdr_num,prbv_num,plnb_num,magl_code,prdl_num,prdl_status » space usage at Filter=magl_code=2000in

 

Please note!
From version 76 onwards, version 3 is available for the MKG API. This means that API version 1 will no longer be developed further and will be phased out. You can read more about this in the article Phasing out MKG API version 1.