Filtering the Audit Export api

Hi,

about this api:
support.sugarcrm.com/.../
Invoking it, we've seen that we can't filter by date. We need the condition on date_created to retrieve only today data. 
This is the call we're using:
../rest/v11_11/Opportunities/audit/export/?filter[0][date_created][$gte]=20241016&offset=0&max_num=5000
Doesn't filter as expected. 
Could you confirm? How to fix it?

Thanks

Parents
  • You should:

    1. create a custom endpoint (custom/modules/Audit/clientes/base/api/CustomAuditApi.php) which extends the default one.
    2. Implement the method "registerApiRest" in order to define a new route having additional parameters
    3. Implement the target method
    4. Run QRR and Clear Additional Cache

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • You should:

    1. create a custom endpoint (custom/modules/Audit/clientes/base/api/CustomAuditApi.php) which extends the default one.
    2. Implement the method "registerApiRest" in order to define a new route having additional parameters
    3. Implement the target method
    4. Run QRR and Clear Additional Cache

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data